From 5635977543bdf9ce03c78d749d7a6d4fd41ae698 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Tue, 29 Nov 2011 02:41:06 +0400 Subject: [PATCH] test: fix spurious output from missing external binaries functions The grep(1) command used in the fake binary functions was missing the quiet option. --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }" -- 2.26.2