From: Colin Walters Date: Sat, 14 Oct 2017 14:17:02 +0000 (-0400) Subject: tests/basic: Add missing ${COMMIT_ARGS} for bare-user-only X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~30^2~52 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=729790bedc1aaad7ea29ea6010bf39eb8c3943ba;p=ostree.git tests/basic: Add missing ${COMMIT_ARGS} for bare-user-only 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 --- diff --git a/tests/basic-test.sh b/tests/basic-test.sh index 9c22fe34..57269314 100644 --- a/tests/basic-test.sh +++ b/tests/basic-test.sh @@ -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)"