From f747be88f590ad2240a13068edc162eb6cecff67 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 6 Oct 2015 00:23:50 +0000 Subject: Add some more syncs to quiesce the filesystem after creating the files to see if this fixes deterministic Jenkin failures --- bin/ls/tests/ls_tests.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/ls') diff --git a/bin/ls/tests/ls_tests.sh b/bin/ls/tests/ls_tests.sh index da597e9..f3c7e69 100755 --- a/bin/ls/tests/ls_tests.sh +++ b/bin/ls/tests/ls_tests.sh @@ -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 -- cgit v1.1