]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* atgeneral.m4 (AT_CHECK): Add a newline to the end of
authorPavel Roskin <proski@gnu.org>
Fri, 29 Jun 2001 05:27:48 +0000 (05:27 +0000)
committerPavel Roskin <proski@gnu.org>
Fri, 29 Jun 2001 05:27:48 +0000 (05:27 +0000)
at-stdout and at-stderr instead of removing the newline
from the echo output, which is not guaranteed to work.

ChangeLog
lib/autotest/general.m4
tests/atgeneral.m4

index b04adebe57ac7dbb7612f8c426d397aacd41ca52..67b619409fda79f5eb7d5aa167acfb42e2d6010d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-29  Pavel Roskin  <proski@gnu.org>
+
+       * atgeneral.m4 (AT_CHECK): Add a newline to the end of
+       at-stdout and at-stderr instead of removing the newline
+       from the echo output, which is not guaranteed to work.
+
 2001-06-28  Jens Petersen  <petersen@redhat.com>
 
        * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
index b7675f1a348b3a90473d4389f1d7d98fa55d0920..77b32e95c4abbf02cda151ce49835f72b339cd37 100644 (file)
@@ -538,14 +538,14 @@ m4_case([$4],
         ignore, [(echo stderr:; cat at-stderr) >&5],
         experr, [$at_diff experr at-stderr >&5 || at_failed=:],
         [],     [$at_diff $at_devnull  at-stderr >&5 || at_failed=:],
-        [echo $at_n "AS_ESCAPE([$4])$at_c" | $at_diff - at-stderr >&5 || at_failed=:])
+        [echo >>at-stderr; echo "AS_ESCAPE([$4])" | $at_diff - at-stderr >&5 || at_failed=:])
 dnl Check stdout.
 m4_case([$3],
         stdout, [(echo stdout:; tee stdout <at-stdout) >&5],
         ignore, [(echo stdout:; cat at-stdout) >&5],
         expout, [$at_diff expout at-stdout >&5 || at_failed=:],
         [],     [$at_diff $at_devnull  at-stdout >&5 || at_failed=:],
-        [echo $at_n "AS_ESCAPE([$3])$at_c" | $at_diff - at-stdout >&5 || at_failed=:])
+        [echo >>at-stdout; echo "AS_ESCAPE([$3])" | $at_diff - at-stdout >&5 || at_failed=:])
 dnl Check exit val.  Don't `skip' if we are precisely checking $? = 77.
 case $at_status in
 m4_case([$2],
index b7675f1a348b3a90473d4389f1d7d98fa55d0920..77b32e95c4abbf02cda151ce49835f72b339cd37 100644 (file)
@@ -538,14 +538,14 @@ m4_case([$4],
         ignore, [(echo stderr:; cat at-stderr) >&5],
         experr, [$at_diff experr at-stderr >&5 || at_failed=:],
         [],     [$at_diff $at_devnull  at-stderr >&5 || at_failed=:],
-        [echo $at_n "AS_ESCAPE([$4])$at_c" | $at_diff - at-stderr >&5 || at_failed=:])
+        [echo >>at-stderr; echo "AS_ESCAPE([$4])" | $at_diff - at-stderr >&5 || at_failed=:])
 dnl Check stdout.
 m4_case([$3],
         stdout, [(echo stdout:; tee stdout <at-stdout) >&5],
         ignore, [(echo stdout:; cat at-stdout) >&5],
         expout, [$at_diff expout at-stdout >&5 || at_failed=:],
         [],     [$at_diff $at_devnull  at-stdout >&5 || at_failed=:],
-        [echo $at_n "AS_ESCAPE([$3])$at_c" | $at_diff - at-stdout >&5 || at_failed=:])
+        [echo >>at-stdout; echo "AS_ESCAPE([$3])" | $at_diff - at-stdout >&5 || at_failed=:])
 dnl Check exit val.  Don't `skip' if we are precisely checking $? = 77.
 case $at_status in
 m4_case([$2],