From 8ab2e60edcb0d7b32d3d2f7892914951acbb4fe7 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 24 Apr 2015 15:42:28 +0200 Subject: [PATCH] test-auto-summary.sh properly quote arguments to assert_streq Signed-off-by: Giuseppe Scrivano --- tests/test-auto-summary.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-auto-summary.sh b/tests/test-auto-summary.sh index 6cc4f069..0998b1e0 100755 --- a/tests/test-auto-summary.sh +++ b/tests/test-auto-summary.sh @@ -43,7 +43,7 @@ echo hello2 > test/a ${CMD_PREFIX} $OSTREE commit -b test -s "Another commit" test echo "ok commit 2" -assert_streq $OLD_MD5 $(md5sum repo/summary) +assert_streq "$OLD_MD5" "$(md5sum repo/summary)" ${CMD_PREFIX} $OSTREE --repo=repo config set core.commit-update-summary true @@ -52,4 +52,4 @@ echo hello3 > test/a ${CMD_PREFIX} $OSTREE commit -b test -s "Another commit..." test echo "ok commit 3" -assert_not_streq $OLD_MD5 $(md5sum repo/summary) +assert_not_streq "$OLD_MD5" "$(md5sum repo/summary)"