Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 00:23:51 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288905 - head/bin/ls/tests
Message-ID:  <201510060023.t960Np71092996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510060023.t960Np71092996>