* tests/autotest.at (Erlang Eunit unit tests): Fix grep invocation.
+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>
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])