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
This commit is contained in:
Enji Cooper 2017-08-05 16:58:02 +00:00
parent 4b38286169
commit 3783c851d7

View File

@ -115,7 +115,7 @@ f_flag_body()
f_flag_cleanup()
{
atf_check chflags 0 foo
chflags 0 foo || :
}
atf_test_case h_flag