From: Dmitry Kurochkin Date: Mon, 28 Nov 2011 22:41:06 +0000 (+0400) Subject: test: fix spurious output from missing external binaries functions X-Git-Tag: 0.11_rc1~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5635977543bdf9ce03c78d749d7a6d4fd41ae698;p=notmuch.git test: fix spurious output from missing external binaries functions The grep(1) command used in the fake binary functions was missing the quiet option. --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 9dcb2d2e..2861d881 100644 --- 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 -qe \" $name \" || test_subtest_missing_external_prereqs_=\"\$test_subtest_missing_external_prereqs_ $name\" false }"