]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2006 05:59:00 +0000 (05:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2006 05:59:00 +0000 (05:59 +0000)
and non-portable sed scripts, and use $CONFIG_SHELL when invoking
./micro-suite.

ChangeLog
tests/autotest.at

index 4b6eee3b10cda872c40025a232055da11e4c6c25..4382516909cc7c6649d0149d4e347c2ef9835458 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+       and Joel E. Denny  <jdenny@ces.clemson.edu>
+       and Paul Eggert  <eggert@cs.ucla.edu>
+
+       * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
+       and non-portable sed scripts, and use $CONFIG_SHELL when invoking
+       ./micro-suite.
+
 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
index 0ffe972a9cba29cd8c36a1faca8cf5aa6cb09bf4..8c9b1a5d584cf5ebbfb9ef2719bd526e8f2abf7d 100644 (file)
@@ -257,14 +257,15 @@ AT_SETUP([$2])
 AT_CHECK([:])
 AT_CLEANUP
 ]], [$4], [], [], [],
-[AT_CHECK([[./micro-suite | sed -n "s/[^:]*: \(.*[^ \t]\)[ \t]*ok.*/\1/p"]],,
+[AT_CHECK([[$CONFIG_SHELL ./micro-suite |
+           sed -n 's/[^:]*: \(.*[^      ]\)[    ]*ok.*/\1/p']],,
 [[$3
 ]])
-AT_CHECK([[./micro-suite -l \
-             | sed -n "s/.*[0-9]\+: [^ \t]\+[ \t]\+\(.*[^ \t]\)[ \t]*/\1/p"]],,
+AT_CHECK([[$CONFIG_SHELL ./micro-suite -l |
+          sed -n 's/.*[0-9]: [^         ][^     ]*[     ][      ]*\(.*[^        ]\)[    ]*/\1/p']],,
 [[$3
 ]])
-AT_CHECK([[sed -n "s/[^.]*\. \(.*\) ([^)]*): ok.*/\1/p" micro-suite.log]],,
+AT_CHECK([[sed -n 's/[^.]*\. \(.*\) ([^)]*): ok.*/\1/p' micro-suite.log]],,
 [[$3
 ]])
 ])])