]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
testsuite: avoid bogus hostname match from inner test logs.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 29 Jul 2009 17:49:25 +0000 (19:49 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 29 Jul 2009 17:54:57 +0000 (19:54 +0200)
* tests/autotest.at (Hard fail): Check more restrictively for
passed tests, so that hostnames recorded in the log file do not
wrongly match.
Report by Ludovic Courtès.

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

index 9011143d44f389309321bb9866ad2fbd29317e6e..61bda1a2af7148920736520f2946860f7402f870 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       testsuite: avoid bogus hostname match from inner test logs.
+       * tests/autotest.at (Hard fail): Check more restrictively for
+       passed tests, so that hostnames recorded in the log file do not
+       wrongly match.
+       Report by Ludovic Courtès.
+
 2009-07-26  Eric Blake  <ebb9@byu.net>
 
        Release Version 2.64.
index 57382ca800b405e813331a73261385a2d6fce48a..78364394d8f830a9c934e68899d68b00f4891307 100644 (file)
@@ -271,7 +271,7 @@ AT_CHECK_AT_TEST([Hard fail],
    AT_CHECK([exit 99])],
   [], [1], [], [ignore], [],
   [AT_CHECK([grep '2 failed unexpectedly' micro-suite.log], [], [ignore])
-   AT_CHECK([grep ok micro-suite.log], [1])])
+   AT_CHECK([grep '^[[12]].*ok' micro-suite.log], [1])])
 
 AT_CHECK_AT_TEST([AT@&t@_FAIL_IF],
   [AT_FAIL_IF([:])