]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix bugs in test script silent5.test.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 23 Jun 2010 19:56:04 +0000 (21:56 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 24 Jun 2010 18:28:39 +0000 (20:28 +0200)
* tests/silent5.test: Fixed a nasty bug (due to the use of grep
instead of egrep) that could have led to false negatives.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/silent5.test

index ad4f6170374a127c8eac43091a4ba475801f26ce..4f6d22afda88ce678b8b1a0a1cecd9e840de198c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Fix bugs in test script silent5.test.
+       * tests/silent5.test: Fixed a nasty bug (due to the use of grep
+       instead of egrep) that could have led to false negatives.
+
 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Improved test silent5.test.
index e1134e864d24dee43488603c1489fa435019ee56..4a9c4c1b12c0be6b62b830567d31236c2ce1c41b 100755 (executable)
@@ -80,11 +80,11 @@ do_and_check_verbose_build ()
   grep ' -c ' stdout
   grep ' -o ' stdout
 
-  grep '(CC|CXX|FC|F77|LD) ' stdout && Exit 1
+  $GREP '(CC|CXX|FC|F77|LD) ' stdout && Exit 1
 
   if $rebuild; then :; else
     grep 'ylwrap ' stdout
-    grep '(LEX|YACC) ' stdout && Exit 1
+    $EGREP '(LEX|YACC) ' stdout && Exit 1
   fi
 
   unset rebuild