]> git.ipfire.org Git - thirdparty/automake.git/commit
testsuite: fix spurious failures with Solaris /bin/sh
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 27 Jul 2011 13:33:13 +0000 (15:33 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 2 Aug 2011 21:03:31 +0000 (23:03 +0200)
commit50c32b61b305cb8c2965470927522ed2f226b917
treea035924f57585b8b87fed3694074a765d682a00d
parentb9e9d546e8ab45139be6d8e939602cd712c36c8c
testsuite: fix spurious failures with Solaris /bin/sh

* tests/tap-more.test: Use `echo > file', not `: > file', to
create empty files in the "for" loops; this is required since,
as documented in the autoconf manual, Solaris 10 /bin/sh
"optimizes" away the `:' command after the first iteration,
even if it is redirected.
* tests/test-driver-custom-multitest-recheck2.test: Likewise.
* tests/tap-numeric-description.test: Partial rewrite to avoid
using positional parameters from the 10th onward, which are
unportable to Solaris /bin/sh (using `${10}' causes the shell
to die with "bad substitution").
ChangeLog
tests/tap-more.test
tests/tap-numeric-description.test
tests/test-driver-custom-multitest-recheck2.test