From ba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 20 Sep 2010 16:13:15 -0700 Subject: 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. --- test/thread-order | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/thread-order') diff --git a/test/thread-order b/test/thread-order index 47f25c86..1819fce3 100755 --- a/test/thread-order +++ b/test/thread-order @@ -8,7 +8,7 @@ output=$(NOTMUCH_NEW) test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Searching returns the message" -output=$($NOTMUCH search foo | notmuch_search_sanitize) +output=$(notmuch search foo | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; brokenthreadtest (inbox unread)" test_begin_subtest "Adding second child message" @@ -17,7 +17,7 @@ output=$(NOTMUCH_NEW) test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Searching returns both messages in one thread" -output=$($NOTMUCH search foo | notmuch_search_sanitize) +output=$(notmuch search foo | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [2/2] Notmuch Test Suite; brokenthreadtest (inbox unread)" test_begin_subtest "Adding parent message" @@ -26,7 +26,7 @@ output=$(NOTMUCH_NEW) test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Searching returns all three messages in one thread" -output=$($NOTMUCH search foo | notmuch_search_sanitize) +output=$(notmuch search foo | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [3/3] Notmuch Test Suite; brokenthreadtest (inbox unread)" test_done -- cgit v1.2.3