summaryrefslogtreecommitdiff
path: root/tests/test-basic.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-06-18 18:24:41 -0400
committerColin Walters <walters@verbum.org>2014-06-18 18:24:41 -0400
commit3d5ff5b542b2bf8e417e48afcfde4ecb9f27866f (patch)
tree2c52ec10047a7a18355cbfc30a13a712fcb724b7 /tests/test-basic.sh
parentd4d4cbda7afd99d69e2d18e4edb82053f06cdffc (diff)
downloadostree-3d5ff5b542b2bf8e417e48afcfde4ecb9f27866f.tar.gz
tests: Add a test which exercises --fsync=false
Diffstat (limited to 'tests/test-basic.sh')
-rwxr-xr-xtests/test-basic.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index 0a9908de..e0e71329 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -328,3 +328,9 @@ if $OSTREE commit -b test2 -s "Attempt to commit a FIFO" 2>../errmsg; then
fi
echo "ok commit of fifo was rejected"
+cd ${test_tmpdir}
+rm -rf test2-checkout
+mkdir -p test2-checkout
+cd test2-checkout
+touch should-not-be-fsynced
+$OSTREE commit -b test2 -s "Unfsynced commit" --fsync=false