summaryrefslogtreecommitdiff
path: root/t/ansi2knr-no-more.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-28 21:52:37 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-28 23:34:52 +0200
commitd3a51faf8b62c80423dc71cd7d307fca6a2aa520 (patch)
tree60d60ca01693d0918b0d640ed9384a5e42371d66 /t/ansi2knr-no-more.sh
parent073216069b0f94ce4a92f5a007c953152c896424 (diff)
downloadautomake-d3a51faf8b62c80423dc71cd7d307fca6a2aa520.tar.gz
tests: remove stale workarounds for Solaris /bin/sh
Our testsuite cannot be run with that shell anymore (as it is not POSIX-compliant). * t/tap-more.sh: Remove outdated workarounds for Solaris /bin/sh. * t/self-check-exit.tap: Likewise. * t/ansi2knr-no-more.sh: Likewise. * t/add-missing.tap: Likewise. * t/dist-auxfile.sh: Likewise. * t/test-driver-custom-multitest-recheck2.sh: Likewise. * t/ax/test-init.sh: Remove obsolete references to Solaris /bin/sh. * t/confh5.sh: Likewise. * t/uninstall-fail.sh: Likewise. And update comments about quirks of Solaris /bin/ksh and /usr/xpg4/bin/sh. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/ansi2knr-no-more.sh')
-rwxr-xr-xt/ansi2knr-no-more.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ansi2knr-no-more.sh b/t/ansi2knr-no-more.sh
index 452abd381..5387d20fb 100755
--- a/t/ansi2knr-no-more.sh
+++ b/t/ansi2knr-no-more.sh
@@ -45,7 +45,7 @@ for opt in ansi2knr lib/ansi2knr; do
AUTOMAKE_fails -Wnone
grep "^Makefile\.am:1:.*$warn_rx" stderr
# ansi2knr option in configure.ac
- echo > Makefile.am # 'echo', not ':', for Solaris /bin/sh.
+ : > Makefile.am
sed "s|^\\(AM_INIT_AUTOMAKE\\).*|\1([$opt])|" configure.sav >configure.ac
cat configure.ac # For debugging.
rm -rf autom4te*.cache