From 729790bedc1aaad7ea29ea6010bf39eb8c3943ba Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 14 Oct 2017 10:17:02 -0400 Subject: [PATCH] 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 --- tests/basic-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)"