aboutsummaryrefslogtreecommitdiff
path: root/test/encoding
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-09-20 16:13:15 -0700
committerCarl Worth <cworth@cworth.org>2010-09-20 16:15:08 -0700
commitba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1 (patch)
tree368b0c538d7dbb2942948a1111631e52b12829b0 /test/encoding
parent129a4417e3e8339074fb07004995ed4240cd68d8 (diff)
test: Remove useless NOTMUCH variable (in favor of simply "notmuch")
When the NOTMUCH variable was originally invented it was used as an explicit path to the notmuch binary being tested. Today, the test suite sets the PATH variable instead, so the NOTMUCH variable always has a value of simply "notmuch". We simplifying that by using the constant value rather than the continual variable reference.
Diffstat (limited to 'test/encoding')
-rwxr-xr-xtest/encoding2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encoding b/test/encoding
index 6a7196b..68cb8ee 100755
--- a/test/encoding
+++ b/test/encoding
@@ -5,7 +5,7 @@ test_description="encoding issues"
test_begin_subtest "Message with text of unknown charset"
add_message '[content-type]="text/plain; charset=unknown-8bit"' \
"[body]=irrelevant"
-output=$($NOTMUCH show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize)
+output=$(notmuch show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize)
test_expect_equal "$output" " message{ id:msg-001@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-001
header{
Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox unread)