tests/basic: Add missing ${COMMIT_ARGS} for bare-user-only
authorColin Walters <walters@verbum.org>
Sat, 14 Oct 2017 14:17:02 +0000 (10:17 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 16 Oct 2017 18:22:09 +0000 (18:22 +0000)
I was working on "adopt" and hit corruption; turns out we were missing the
`--canonical-permissions` arg in this existing test.

(Need to abstract all of this more)

Closes: #1272
Approved by: jlebon

tests/basic-test.sh

index 9c22fe349a58d844d407ad3f3bacff001c4a3b13..57269314b7b2b3e17a25b47dadf79054c4d66b30 100644 (file)
@@ -181,8 +181,9 @@ cd ${test_tmpdir}
 rm checkout-test2-l -rf
 $OSTREE checkout ${CHECKOUT_H_ARGS} test2 $test_tmpdir/checkout-test2-l
 date > $test_tmpdir/checkout-test2-l/newdatefile.txt
-$OSTREE commit --link-checkout-speedup --consume -b test2 --tree=dir=$test_tmpdir/checkout-test2-l
+$OSTREE commit ${COMMIT_ARGS} --link-checkout-speedup --consume -b test2 --tree=dir=$test_tmpdir/checkout-test2-l
 assert_not_has_dir $test_tmpdir/checkout-test2-l
+$OSTREE fsck
 # Some of the later tests are sensitive to state
 $OSTREE reset test2 test2^
 echo "ok consume (nom nom nom)"