]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test-lib.sh: pass 'NOTMUCH_NEW's args down to 'notmuch new'
[notmuch] / test / test-lib.sh
index 8de5e32fd920e83ed1015d2337a19387ddb16ca2..568e89f18024cc8e4350236e8ca0eb3dad3dd4c9 100644 (file)
@@ -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 ()