svn commit: r288905 - head/bin/ls/tests

Garrett Cooper ngie at FreeBSD.org
Tue Oct 6 00:23:51 UTC 2015


Author: ngie
Date: Tue Oct  6 00:23:50 2015
New Revision: 288905
URL: https://svnweb.freebsd.org/changeset/base/288905

Log:
  Add some more syncs to quiesce the filesystem after creating the
  files to see if this fixes deterministic Jenkin failures

Modified:
  head/bin/ls/tests/ls_tests.sh
Directory Properties:
  head/   (props changed)

Modified: head/bin/ls/tests/ls_tests.sh
==============================================================================
--- head/bin/ls/tests/ls_tests.sh	Mon Oct  5 21:41:55 2015	(r288904)
+++ head/bin/ls/tests/ls_tests.sh	Tue Oct  6 00:23:50 2015	(r288905)
@@ -72,6 +72,8 @@ create_test_inputs()
 	atf_check -e empty -s exit:0 touch 0b00001101
 	atf_check -e empty -s exit:0 touch 0b00001110
 	atf_check -e empty -s exit:0 touch 0b00001111
+
+	atf_check -e empty -s exit:0 sync
 }
 
 KB=1024
@@ -98,6 +100,8 @@ create_test_inputs2()
 		    count=1 oseek=$(( $filesize / $MB )) conv=sparse
 		files="${files} ${filesize}.file"
 	done
+
+	atf_check -e empty -s exit:0 sync
 }
 
 atf_test_case A_flag


More information about the svn-src-head mailing list