]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/autotest.at (Multiline command from M4 expansion):
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 24 May 2006 03:46:00 +0000 (03:46 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 24 May 2006 03:46:00 +0000 (03:46 +0000)
No failure to be expected if the shell quotes newlines in
commands in the `set -x' output.  Report by Tim Rice.
* THANKS: Update.

ChangeLog
THANKS
tests/autotest.at

index 32dd233ec476292b3059f772a831f96dcea1a5af..4a90155f2746c3c33e6eaaa8a1aaef889cdd653e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/autotest.at (Multiline command from M4 expansion):
+       No failure to be expected if the shell quotes newlines in
+       commands in the `set -x' output.  Report by Tim Rice.
+       * THANKS: Update.
+
 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
diff --git a/THANKS b/THANKS
index 1c5dc837cc0e1df2430911aea13f722efdefe986..10cc097298fe5c22bb77c66fdee061a7c6d354c4 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -208,6 +208,7 @@ Theodore Ts'o"              tytso@mit.edu
 Thien-Thi Nguyen            ttn@gnu.org
 Thomas Winder               tom@vlsivie.tuwien.ac.at
 Tim Van Holder              tim.van.holder@pandora.be
+Tim Rice                    tim@multitalents.net
 Tom Lane                    tgl@sss.pgh.pa.us
 Tom Purcell                 Tom.Purcell@wang.com
 Tom Tromey                  tromey@cygnus.com
index 125f2d2c8bd900f89c3db5b7e1c0595948d7c50c..0bdb7a4365084be7d5cfa40676365d5c46747541 100644 (file)
@@ -160,13 +160,14 @@ AT_CHECK_AT_TEST([Invalid brace-enclosed parameter expansion],
 ## ---------------------------- ##
 
 # The last paragaph in the comment above _AT_DECIDE_TRACEABLE illustrates why
-# this test fails.
+# this test fails (except with Korn shell-style quoting $'foo\nbar').
 AT_CHECK_AT_TEST([Multiline command from M4 expansion],
   [m4_define([GNU], ['foo
 bar'])
    AT_CHECK([echo GNU], 0, [foo
 bar
-], [])], [:])
+], [])], [case `( set -x; echo 'foo
+bar') 2>&1` in *\$\'foo\\nbar\'*) false;; *) :;; esac])
 
 AT_CHECK_AT_TEST([Double-M4-quoted command],
   [m4_define([GNU], ['foo