]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Add some more syncs to quiesce the filesystem after creating the
authorngie <ngie@FreeBSD.org>
Tue, 6 Oct 2015 00:23:50 +0000 (00:23 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 6 Oct 2015 00:23:50 +0000 (00:23 +0000)
files to see if this fixes deterministic Jenkin failures

bin/ls/tests/ls_tests.sh

index da597e98bb9769ae2d06477b58a274b32610dbbf..f3c7e69dbdd74b7117c19187c9f625ead83102d1 100755 (executable)
@@ -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