nixpkgs/pkgs/development/tools/misc/autoconf/test-suite-fix.patch
Ludovic Courtès 4456c7496a Autoconf: Patch sloppy test case.
svn path=/nixpkgs/trunk/; revision=16511
2009-07-29 19:39:15 +00:00

18 lines
562 B
Diff

This patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de> fixes
the "Hard fail" test case.
See http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6814
for details.
--- a/tests/autotest.at
+++ b/tests/autotest.at
@@ -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([:])