projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571810f
)
test: fix spurious output from missing external binaries functions
author
Dmitry Kurochkin
<dmitry.kurochkin@gmail.com>
Mon, 28 Nov 2011 22:41:06 +0000
(
02:41
+0400)
committer
David Bremner
<bremner@debian.org>
Thu, 1 Dec 2011 01:25:24 +0000
(17:25 -0800)
The grep(1) command used in the fake binary functions was missing the
quiet option.
test/test-lib.sh
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 9dcb2d2e2a2bc4a57c4356d182dc59f291e8bd7e..2861d881d0e9d1ca93f67d2068b5e66d8d13be03 100644
(file)
--- a/
test/test-lib.sh
+++ b/
test/test-lib.sh
@@
-556,7
+556,7
@@
test_declare_external_prereq () {
hash $binary 2>/dev/null || eval "
test_missing_external_prereq_${binary}_=t
$binary () {
- echo -n \"\$test_subtest_missing_external_prereqs_\" | grep -e \" $name \" ||
+ echo -n \"\$test_subtest_missing_external_prereqs_\" | grep -
q
e \" $name \" ||
test_subtest_missing_external_prereqs_=\"\$test_subtest_missing_external_prereqs_ $name\"
false
}"