mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
tests: Add a test which exercises --fsync=false
This commit is contained in:
parent
d4d4cbda7a
commit
3d5ff5b542
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user