From 3783c851d7a252e37e462d7d5afd9702532f4ace Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 5 Aug 2017 16:58:02 +0000 Subject: [PATCH] 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 --- bin/chmod/tests/chmod_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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