diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-11-29 02:41:06 +0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-30 17:25:24 -0800 |
commit | 5635977543bdf9ce03c78d749d7a6d4fd41ae698 (patch) | |
tree | 239d2ef444fedd7dc32f9dd924d5836ba952579b /test | |
parent | 571810f71762ab8debeea3c5cffeb7dac665b2dd (diff) |
test: fix spurious output from missing external binaries functions
The grep(1) command used in the fake binary functions was missing the
quiet option.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 }" |