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/new | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/new') diff --git a/test/new b/test/new index 4c6952f..7b396ae 100755 --- a/test/new +++ b/test/new @@ -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}" -- cgit v1.2.3