]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/torture.m4: Nuke the trailing space in defs.
authorAkim Demaille <akim@epita.fr>
Tue, 15 Feb 2000 09:03:36 +0000 (09:03 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 15 Feb 2000 09:03:36 +0000 (09:03 +0000)
ChangeLog
tests/torture.m4

index d0b33e7018c662abc9bcb5da077de71ffe281706..5eea57b38c03a8acfecd4f1fdec7eef08a385928 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-11  Akim Demaille  <akim@epita.fr>
+
+       * tests/torture.m4: Nuke the trailing space in defs.
+
 2000-02-11  Akim Demaille  <akim@epita.fr>
 
        * tests/atspecific.m4: Really added to the CVS repository.
index 5bf95d495ebab950c1af72638be96c7265ce61b6..4e849d20f8825d345101903859743983130bd23e 100644 (file)
@@ -189,6 +189,8 @@ AT_DATA(expout,
 [[ -Dfoo=toto -Dbar=tata -Dbaz=titi -Dfubar=tutu -Da=A -Daaa=AAA -Daa=AA]
 ])
 
-AT_CHECK([cat defs], 0, expout)
+# Because we strip trailing spaces in `testsuite' we can't leave one in
+# expout, hence nuke the one left by AC_OUTPUT_MAKE_DEFS.
+AT_CHECK([sed -e 's/ $//' defs], 0, expout)
 
 AT_CLEANUP(configure config.status config.log config.cache config.h defs)