diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-20 16:13:15 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-20 16:15:08 -0700 |
commit | ba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1 (patch) | |
tree | 368b0c538d7dbb2942948a1111631e52b12829b0 /test/author-order | |
parent | 129a4417e3e8339074fb07004995ed4240cd68d8 (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/author-order')
-rwxr-xr-x | test/author-order | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/author-order b/test/author-order index d618b85..9f0b931 100755 --- a/test/author-order +++ b/test/author-order @@ -18,19 +18,19 @@ output=$(NOTMUCH_NEW) test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Searching when all three messages match" -output=$($NOTMUCH search findme | notmuch_search_sanitize) +output=$(notmuch search findme | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [3/3] User, User1, User2; author-reorder-threadtest (inbox unread)" test_begin_subtest "Searching when two messages match" -output=$($NOTMUCH search User1 or User2 | notmuch_search_sanitize) +output=$(notmuch search User1 or User2 | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [2/3] User1, User2| User; author-reorder-threadtest (inbox unread)" test_begin_subtest "Searching when only one message matches" -output=$($NOTMUCH search User2 | notmuch_search_sanitize) +output=$(notmuch search User2 | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/3] User2| User, User1; author-reorder-threadtest (inbox unread)" test_begin_subtest "Searching when only first message matches" -output=$($NOTMUCH search User | notmuch_search_sanitize) +output=$(notmuch search User | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/3] User| User1, User2; author-reorder-threadtest (inbox unread)" test_done |