]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix grep invocation in Erlang test.
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 2 Aug 2009 06:24:00 +0000 (08:24 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Sun, 2 Aug 2009 06:24:48 +0000 (08:24 +0200)
* tests/autotest.at (Erlang Eunit unit tests): Fix grep invocation.

ChangeLog
tests/autotest.at

index bd77e86d5ca491370d4f4782d9e0c825da806b3a..8e88f2c5e4a6966b2b16b789048da3fe940b3840 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       Use exit code to detect no occurrences with grep.
+       * tests/autotest.at (Erlang Eunit unit tests): Fix grep invocation.
+
 2009-08-01  Romain Lenglet  <romain.lenglet@laposte.net>
            Paolo Bonzini  <bonzini@gnu.org>
 
index 162bbb7a452e41a23e3a82509fa452111481084d..7b8e0eef64b641b474e48e6526c4b51b339c0788 100644 (file)
@@ -1512,7 +1512,7 @@ AT_CHECK([cd t && $CONFIG_SHELL ./suite], [], [ignore])
 
 if test "$HAVE_EUNIT" = yes; then
   AT_CHECK([grep 1.*successful t/suite.log], [], [ignore])
-  AT_CHECK([grep -v skipped t/suite.log], [], [ignore])
+  AT_CHECK([grep skipped t/suite.log], [1], [ignore])
 else
   AT_CHECK([grep 1.*skipped t/suite.log], [], [ignore])
   AT_CHECK([grep 0.*successful t/suite.log], [], [ignore])