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.
This commit is contained in:
Dmitry Kurochkin 2011-11-27 22:36:19 +04:00 committed by David Bremner
parent 5af65f65e8
commit 6cb61729d4

View file

@ -412,7 +412,7 @@ test_emacs '(notmuch-search "id:\"bought\"")
(yank) (yank)
(test-output)' (test-output)'
sed -i -e 's/^thread:.*$/thread:XXX/' 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_begin_subtest 'Hiding message following HTML part'
test_subtest_known_broken test_subtest_known_broken