From: Stefano Lattarini Date: Sat, 8 Oct 2011 19:03:43 +0000 (+0200) Subject: tests: fix spurious failure with Solaris /bin/sh X-Git-Tag: ng-0.5a~89^2~27^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00899b78a705f0d45cad78f8fcc465275c1aff6;p=thirdparty%2Fautomake.git tests: fix spurious failure with Solaris /bin/sh * tests/dist-auxfile.test: Don't use redirected `:' in a loop, it hits a bug in Solaris 10 /bin/sh. --- diff --git a/ChangeLog b/ChangeLog index a5eaaefd2..f294dadb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-08 Stefano Lattarini + + tests: fix spurious failure with Solaris /bin/sh + * tests/dist-auxfile.test: Don't use redirected `:' in a loop, + it hits a bug in Solaris 10 /bin/sh. + 2011-10-08 Stefano Lattarini threaded-am: better serialization for required config files diff --git a/tests/dist-auxfile.test b/tests/dist-auxfile.test index 2776a250f..6efd7375a 100755 --- a/tests/dist-auxfile.test +++ b/tests/dist-auxfile.test @@ -61,8 +61,8 @@ END END mkdir subdir - : > subdir/Makefile.am - + echo > subdir/Makefile.am # `echo', not `:', for Solaris /bin/sh. + test -z "$auxdir" || mkdir "$auxdir" || Exit 99 if test -z "$auxdir"; then