aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorGravatar Pieter Praet <pieter@praet.org>2012-02-19 21:47:55 +0100
committerGravatar David Bremner <bremner@debian.org>2012-10-20 17:28:34 -0300
commitf96ddb15f8d0145e1b877eb821e63d36dbabc71a (patch)
tree83d788d1da19dc88d3c65c20027d7ec3d38faf96 /test/test-lib.sh
parent97216b3cb8012d52c7701b2ec8f874985981124a (diff)
test-lib.sh: pass 'NOTMUCH_NEW's args down to 'notmuch new'
Obviates the need to create a 'NOTMUCH_NEW' clone which runs 'notmuch new --debug'. This will be used in a later patch. Doesn't cause any issues for other tests.
Diffstat (limited to 'test/test-lib.sh')
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 8de5e32f..568e89f1 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -555,7 +555,7 @@ test_emacs_expect_t () {
NOTMUCH_NEW ()
{
- notmuch new | grep -v -E -e '^Processed [0-9]*( total)? file|Found [0-9]* total file'
+ notmuch new "${@}" | grep -v -E -e '^Processed [0-9]*( total)? file|Found [0-9]* total file'
}
notmuch_search_sanitize ()