tests: Add a test which exercises --fsync=false

This commit is contained in:
Colin Walters 2014-06-18 18:24:41 -04:00
parent d4d4cbda7a
commit 3d5ff5b542

View File

@ -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