svn commit: r322101 - head/bin/chmod/tests

Ngie Cooper ngie at FreeBSD.org
Sat Aug 5 16:58:03 UTC 2017


Author: ngie
Date: Sat Aug  5 16:58:02 2017
New Revision: 322101
URL: https://svnweb.freebsd.org/changeset/base/322101

Log:
  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

Modified:
  head/bin/chmod/tests/chmod_test.sh

Modified: head/bin/chmod/tests/chmod_test.sh
==============================================================================
--- head/bin/chmod/tests/chmod_test.sh	Sat Aug  5 16:55:07 2017	(r322100)
+++ head/bin/chmod/tests/chmod_test.sh	Sat Aug  5 16:58:02 2017	(r322101)
@@ -115,7 +115,7 @@ f_flag_body()
 
 f_flag_cleanup()
 {
-	atf_check chflags 0 foo
+	chflags 0 foo || :
 }
 
 atf_test_case h_flag


More information about the svn-src-head mailing list