summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-10-06 00:23:50 +0000
committerngie <ngie@FreeBSD.org>2015-10-06 00:23:50 +0000
commitf747be88f590ad2240a13068edc162eb6cecff67 (patch)
tree0d7cb526c06cb52e40718776aeed6318e46e0897 /bin/ls
parentce290acb45f06e3dde5c59f37fbc1b260b4660d8 (diff)
downloadFreeBSD-src-f747be88f590ad2240a13068edc162eb6cecff67.zip
FreeBSD-src-f747be88f590ad2240a13068edc162eb6cecff67.tar.gz
Add some more syncs to quiesce the filesystem after creating the
files to see if this fixes deterministic Jenkin failures
Diffstat (limited to 'bin/ls')
-rwxr-xr-xbin/ls/tests/ls_tests.sh4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud