From: Pieter Praet Date: Sun, 19 Feb 2012 20:47:55 +0000 (+0100) Subject: test-lib.sh: pass 'NOTMUCH_NEW's args down to 'notmuch new' X-Git-Tag: 0.15_rc1~218 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f96ddb15f8d0145e1b877eb821e63d36dbabc71a;p=notmuch.git 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. --- 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 ()