summaryrefslogtreecommitdiff
path: root/tests/test-oldstyle-partial.sh
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2015-11-09 13:03:35 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2015-11-16 11:07:55 +0100
commit45cee1bd70234347198b9226f2d79c99b6fe27bc (patch)
tree92da510d4d69d892b7f7109a1dbcfbe891075c27 /tests/test-oldstyle-partial.sh
parent11bc9e58c1a6da8cb6053ea84f2d9e622838bcb2 (diff)
downloadostree-45cee1bd70234347198b9226f2d79c99b6fe27bc.tar.gz
tests: prefix invocation of ostree with where missing
And add a syntax rule to avoid this in future. Fixed by: sed -i -e 's|^ostree |${CMD_PREFIX} ostree |g' tests/*.sh Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'tests/test-oldstyle-partial.sh')
-rw-r--r--tests/test-oldstyle-partial.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-oldstyle-partial.sh b/tests/test-oldstyle-partial.sh
index 84460e97..b7da9a86 100644
--- a/tests/test-oldstyle-partial.sh
+++ b/tests/test-oldstyle-partial.sh
@@ -31,7 +31,7 @@ mkdir repo
${CMD_PREFIX} ostree --repo=repo init
${CMD_PREFIX} ostree --repo=repo remote add --set=gpg-verify=false origin $(cat httpd-address)/ostree/gnomerepo
-ostree --repo=repo pull origin main --subpath /baz
-ostree fsck --repo=repo >fsck.out
+${CMD_PREFIX} ostree --repo=repo pull origin main --subpath /baz
+${CMD_PREFIX} ostree fsck --repo=repo >fsck.out
assert_file_has_content fsck.out 'Verifying content integrity of 0 commit objects'
assert_file_has_content fsck.out '1 partial commits not verified'