Otherwise non-silent output such as "pgCC" or "sunCC" could
unintentionally match.
---
 tests/silent-many-generic.test |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test
index a7a0487..4d254ee 100755
--- a/tests/silent-many-generic.test
+++ b/tests/silent-many-generic.test
@@ -83,7 +83,8 @@ do_and_check_verbose_build ()
   grep ' -c ' stdout
   grep ' -o ' stdout
 
-  $EGREP '(CC|CXX|FC|F77|LD) ' stdout && Exit 1
+  # leading space avoids matching "pgCC" and similar
+  $EGREP ' (CC|CXX|FC|F77|LD) ' stdout && Exit 1
 
   if $rebuild; then :; else
     grep 'ylwrap ' stdout
-- 
1.7.0.4


Reply via email to