diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-10-05 21:26:38 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-10-11 16:41:03 +0000 |
commit | ee484697cdf25a4185a1456d9cf3e80a4d490750 (patch) | |
tree | 17eefbef5357e3c45dc5846c3014f2e81d8b6413 /tests/test-pull-subpath.sh | |
parent | 0446cdb0d38e1e05fc51202b580e28c44993b76c (diff) | |
download | ostree-ee484697cdf25a4185a1456d9cf3e80a4d490750.tar.gz |
pull: Support multiple specifications of --subpath
I need this in flatpak to avoid doing multiple pulls when doing
locale subsetting.
Closes: #523
Approved by: cgwalters
Diffstat (limited to 'tests/test-pull-subpath.sh')
-rwxr-xr-x | tests/test-pull-subpath.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-pull-subpath.sh b/tests/test-pull-subpath.sh index 05f685b9..09145f09 100755 --- a/tests/test-pull-subpath.sh +++ b/tests/test-pull-subpath.sh @@ -36,9 +36,10 @@ mkdir repo ${CMD_PREFIX} ostree --repo=repo init ${CMD_PREFIX} ostree --repo=repo remote add --set=gpg-verify=false origin ${remoteurl} -${CMD_PREFIX} ostree --repo=repo pull --subpath=/baz origin main +${CMD_PREFIX} ostree --repo=repo pull --subpath=/baz/deeper --subpath=/baz/another origin main -${CMD_PREFIX} ostree --repo=repo ls origin:main /baz +${CMD_PREFIX} ostree --repo=repo ls origin:main /baz/deeper +${CMD_PREFIX} ostree --repo=repo ls origin:main /baz/another if ${CMD_PREFIX} ostree --repo=repo ls origin:main /firstfile 2>err.txt; then assert_not_reached fi |