diff options
author | Dan Nicholson <nicholson@endlessm.com> | 2016-05-13 11:38:50 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-06-27 20:20:21 +0000 |
commit | 99a76c9b34a03cf6fc3727b0ecddad99633dc5b3 (patch) | |
tree | da9c43ef1c5f2f50cd966553256b6279c2cb0bf4 | |
parent | 6162fde4f1770c08fcdc41391c2b3bc915e78b19 (diff) | |
download | ostree-99a76c9b34a03cf6fc3727b0ecddad99633dc5b3.tar.gz |
tests: Remove extra $CMD_PREFIX from test-auto-summary.sh
$OSTREE already has $CMD_PREFIX in it, so adding it again causes you to
call env twice with LD_PRELOAD.
Closes: #372
Approved by: cgwalters
-rwxr-xr-x | tests/test-auto-summary.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test-auto-summary.sh b/tests/test-auto-summary.sh index 6039f526..96fc068b 100755 --- a/tests/test-auto-summary.sh +++ b/tests/test-auto-summary.sh @@ -31,30 +31,30 @@ mkdir test echo hello > test/a -${CMD_PREFIX} $OSTREE commit -b test -s "A commit" test +$OSTREE commit -b test -s "A commit" test echo "ok commit 1" -${CMD_PREFIX} $OSTREE summary --update +$OSTREE summary --update OLD_MD5=$(md5sum repo/summary) echo hello2 > test/a -${CMD_PREFIX} $OSTREE commit -b test -s "Another commit" test +$OSTREE commit -b test -s "Another commit" test echo "ok commit 2" assert_streq "$OLD_MD5" "$(md5sum repo/summary)" -${CMD_PREFIX} $OSTREE --repo=repo config set core.commit-update-summary true +$OSTREE --repo=repo config set core.commit-update-summary true echo hello3 > test/a -${CMD_PREFIX} $OSTREE commit -b test -s "Another commit..." test +$OSTREE commit -b test -s "Another commit..." test echo "ok commit 3" assert_not_streq "$OLD_MD5" "$(md5sum repo/summary)" # Check that summary --update deletes the .sig file touch repo/summary.sig -${CMD_PREFIX} $OSTREE summary --update +$OSTREE summary --update assert_not_has_file repo/summary.sig |