diff options
author | Colin Walters <walters@verbum.org> | 2013-07-02 11:24:07 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-02 11:24:07 -0400 |
commit | 2ed49a3749774ceae38a44fe696183a0a77d7ec8 (patch) | |
tree | 84a13a8056ffbd3a8eced1b2c995ce9c9ef890db | |
parent | a93f2b8d160058f7c250a0ce1b16a73b83b4f5ae (diff) | |
download | ostree-2ed49a3749774ceae38a44fe696183a0a77d7ec8.tar.gz |
tests: Pull from file:/// only works with archive-z right now
-rwxr-xr-x | tests/archive-test.sh | 9 | ||||
-rwxr-xr-x | tests/t0002-archivez.sh | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/archive-test.sh b/tests/archive-test.sh index 62595cfb..9d9c0a28 100755 --- a/tests/archive-test.sh +++ b/tests/archive-test.sh @@ -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" diff --git a/tests/t0002-archivez.sh b/tests/t0002-archivez.sh index b9f41919..34ba7bcd 100755 --- a/tests/t0002-archivez.sh +++ b/tests/t0002-archivez.sh @@ -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" |