tests: Pull from file:/// only works with archive-z right now

This commit is contained in:
Colin Walters 2013-07-02 11:24:07 -04:00
parent a93f2b8d16
commit 2ed49a3749
2 changed files with 9 additions and 9 deletions

View File

@ -66,12 +66,3 @@ echo "ok cat-file"
cd ${test_tmpdir}
$OSTREE fsck
echo "ok fsck"
cd ${test_tmpdir}
mkdir repo2
${CMD_PREFIX} ostree --repo=repo2 init
${CMD_PREFIX} ostree --repo=repo2 remote add aremote file://$(pwd)/repo test2
ostree --repo=repo2 pull aremote
ostree --repo=repo2 rev-parse aremote/test2
ostree --repo=repo2 fsck
echo "ok pull with from file:/// uri"

View File

@ -27,3 +27,12 @@ setup_test_repository "archive-z2"
echo "ok setup"
. ${SRCDIR}/archive-test.sh
cd ${test_tmpdir}
mkdir repo2
${CMD_PREFIX} ostree --repo=repo2 init
${CMD_PREFIX} ostree --repo=repo2 remote add aremote file://$(pwd)/repo test2
ostree --repo=repo2 pull aremote
ostree --repo=repo2 rev-parse aremote/test2
ostree --repo=repo2 fsck
echo "ok pull with from file:/// uri"