projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97216b3
)
test-lib.sh: pass 'NOTMUCH_NEW's args down to 'notmuch new'
author
Pieter Praet
<pieter@praet.org>
Sun, 19 Feb 2012 20:47:55 +0000
(21:47 +0100)
committer
David Bremner
<bremner@debian.org>
Sat, 20 Oct 2012 20:28:34 +0000
(17:28 -0300)
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
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 8de5e32fd920e83ed1015d2337a19387ddb16ca2..568e89f18024cc8e4350236e8ca0eb3dad3dd4c9 100644
(file)
--- 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 ()