aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-05 16:58:02 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-05 16:58:02 +0000
commit3783c851d7a252e37e462d7d5afd9702532f4ace (patch)
treedf9db4253f339a214a2ee5610e324e136086b9e7 /bin
parent4b38286169be0e7d7fc24664695afdba5e1930b9 (diff)
downloadsrc-3783c851d7a252e37e462d7d5afd9702532f4ace.tar.gz
src-3783c851d7a252e37e462d7d5afd9702532f4ace.zip
Don't check result of chflags in f_flag_cleanup()
This will prevent false positives from occurring if the test is run on ZFS since ZFS doesn't support fflags throbbing like UFS. PR: 221189 MFC after: 4 days MFC with: r321949
Notes
Notes: svn path=/head/; revision=322101
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chmod/tests/chmod_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/tests/chmod_test.sh b/bin/chmod/tests/chmod_test.sh
index 0ac438d3c5a6..8cd766327fa8 100755
--- a/bin/chmod/tests/chmod_test.sh
+++ b/bin/chmod/tests/chmod_test.sh
@@ -115,7 +115,7 @@ f_flag_body()
f_flag_cleanup()
{
- atf_check chflags 0 foo
+ chflags 0 foo || :
}
atf_test_case h_flag