From: Colin Walters Date: Wed, 11 Apr 2012 23:48:22 +0000 (-0400) Subject: tests: Actually test pack functionality X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~2128 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3a847a571b9c6ff583295cfb1a5d667b24f1dcc0;p=ostree.git tests: Actually test pack functionality With --keep-loose we were just using the loose objects. --- diff --git a/tests/t0001-archive.sh b/tests/t0001-archive.sh index 47127326..e7b2a7e0 100755 --- a/tests/t0001-archive.sh +++ b/tests/t0001-archive.sh @@ -21,7 +21,7 @@ set -e . libtest.sh -echo '1..19' +echo '1..18' setup_test_repository "archive" echo "ok setup" @@ -69,7 +69,7 @@ assert_file_has_content cow-contents "moo" echo "ok cat-file" cd ${test_tmpdir} -$OSTREE pack --keep-loose +$OSTREE pack echo "ok pack" cd ${test_tmpdir} @@ -79,10 +79,6 @@ echo "ok fsck" $OSTREE checkout test2 checkout-test2-from-packed echo "ok checkout union 1" -cd ${test_tmpdir} -$OSTREE pack -echo "ok pack delete loose" - cd ${test_tmpdir} $OSTREE fsck echo "ok fsck"