]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix regression in colon{5,6}.test (failures on AIX 5.3).
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 16 Nov 2010 19:02:54 +0000 (20:02 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 16 Nov 2010 19:02:54 +0000 (20:02 +0100)
* tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
post-processing the generated Makefile.in, to work around a bug
of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
on the commend line.  Calls to `$MAKE' adjusted accordingly.
* tests/colon6.test: Likewise.

Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
improve and/or extend tests `colon*.test", and reported by Ralf
Wildenhues.

ChangeLog
tests/colon5.test
tests/colon6.test

index eff021293fde09d427cb7fed1a3bebc70619eaf8..943c1f4dedbf6654c3c1c5adf2f4e2d2b540b07f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Fix regression in colon{5,6}.test (failures on AIX 5.3).
+       * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
+       post-processing the generated Makefile.in, to work around a bug
+       of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
+       on the commend line.  Calls to `$MAKE' adjusted accordingly.
+       * tests/colon6.test: Likewise.
+       Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
+       improve and/or extend tests `colon*.test", and reported by Ralf
+       Wildenhues.
+
 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Modernize, improve and/or extend tests `colon*.test.
index c53910e67dcb54fd5e638f843ed45b20c8e782c0..9dae9c8e4fb696c3d6406dd1dbe566b68253f69d 100755 (executable)
@@ -45,7 +45,7 @@ $AUTOMAKE
 grep 'Makefile:Makefile\.in' Makefile.in
 grep '^Makefile:.* \$(srcdir)/Makefile\.dep' Makefile.in
 
-sed '/@SET_MAKE@/d' <Makefile.in >Makefile.sed
+sed -e '/@SET_MAKE@/d' -e "s!@SHELL@!$SHELL!g" <Makefile.in >Makefile.sed
 $MAKE -f Makefile.sed SHELL=$SHELL test
 
 :
index 4fb738e68ffda5550bcb6421c8468c8c78e49968..7c620d6d595abd63c3d81347a38699442a2905ee 100755 (executable)
@@ -47,7 +47,7 @@ $AUTOMAKE
 $EGREP 'Makefile:.*(demo|version)' demo/Makefile.in && Exit 1
 grep 'version\.good:.*version\.gin' demo/Makefile.in
 
-sed '/@SET_MAKE@/d' <demo/Makefile.in >Makefile.sed
+sed -e '/@SET_MAKE@/d' -e "s!@SHELL@!$SHELL!g" <demo/Makefile.in >Makefile.sed
 $MAKE -f Makefile.sed SHELL=$SHELL test
 
 :