From 99a76c9b34a03cf6fc3727b0ecddad99633dc5b3 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 13 May 2016 11:38:50 -0700 Subject: [PATCH] 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 --- tests/test-auto-summary.sh | 12 ++++++------ 1 file 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