aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/new
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-09-20 16:13:15 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-09-20 16:15:08 -0700
commitba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1 (patch)
tree368b0c538d7dbb2942948a1111631e52b12829b0 /test/new
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/new')
-rwxr-xr-xtest/new6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/new b/test/new
index 4c6952fd..7b396ae4 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}"