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/new | |
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/new')
-rwxr-xr-x | test/new | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -53,7 +53,7 @@ tmp_msg_filename=tmp/"$gen_msg_filename" mkdir -p "$(dirname "$tmp_msg_filename")" mv "$gen_msg_filename" "$tmp_msg_filename" increment_mtime "${MAIL_DIR}" -$NOTMUCH new > /dev/null +notmuch new > /dev/null mv "$tmp_msg_filename" "$gen_msg_filename" increment_mtime "${MAIL_DIR}" output=$(NOTMUCH_NEW) @@ -63,7 +63,7 @@ test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Renamed message" generate_message -$NOTMUCH new > /dev/null +notmuch new > /dev/null mv "$gen_msg_filename" "${gen_msg_filename}"-renamed increment_mtime "${MAIL_DIR}" output=$(NOTMUCH_NEW) @@ -84,7 +84,7 @@ generate_message [dir]=dir generate_message [dir]=dir generate_message [dir]=dir -$NOTMUCH new > /dev/null +notmuch new > /dev/null mv "${MAIL_DIR}"/dir "${MAIL_DIR}"/dir-renamed increment_mtime "${MAIL_DIR}" |