aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-11-27 22:36:19 +0400
committerGravatar David Bremner <bremner@debian.org>2011-11-27 11:33:35 -0800
commit6cb61729d46335b5ad6ee5e2f618b48fbabda218 (patch)
treeb978edfb9113627b4820a2ca72a1b3698e3ec6c5 /test
parent5af65f65e8a32fb7f11f5b1c2036e35a4c4809e2 (diff)
test: fix "Stashing in notmuch-search" test when emacs is not available
If emacs is not available, test_expect_equal would be called with only one argument. The patch fixes this by quoting the (possibly empty) $(cat OUTPUT) argument.
Diffstat (limited to 'test')
-rwxr-xr-xtest/emacs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emacs b/test/emacs
index 198c27b0..3f8c72d3 100755
--- a/test/emacs
+++ b/test/emacs
@@ -412,7 +412,7 @@ test_emacs '(notmuch-search "id:\"bought\"")
(yank)
(test-output)'
sed -i -e 's/^thread:.*$/thread:XXX/' OUTPUT
-test_expect_equal $(cat OUTPUT) "thread:XXX"
+test_expect_equal "$(cat OUTPUT)" "thread:XXX"
test_begin_subtest 'Hiding message following HTML part'
test_subtest_known_broken