From f96ddb15f8d0145e1b877eb821e63d36dbabc71a Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Sun, 19 Feb 2012 21:47:55 +0100 Subject: 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. --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test-lib.sh') 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 () -- cgit v1.2.3