From: Ralf Wildenhues Date: Thu, 7 Oct 2004 13:01:36 +0000 (+0000) Subject: * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE X-Git-Tag: release-2-1b~922 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bce1dbff48f4dc74e1d32c00bf932df79451dec8;p=thirdparty%2Flibtool.git * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE from autoconf >= 2.59. --- diff --git a/ChangeLog b/ChangeLog index dcbce38da..475b64075 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-10-07 Ralf Wildenhues + * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE + from autoconf >= 2.59. + * TODO: Remove item: no need for a libltdl without stdio. 2004-10-07 Gary V. Vaughan diff --git a/tests/sh.test b/tests/sh.test index 3ec29444f..7ef94a354 100755 --- a/tests/sh.test +++ b/tests/sh.test @@ -44,11 +44,6 @@ if $EGREP -n -e 'if[ ]+\[' $scripts; then status=$EXIT_FAILURE fi -if $EGREP -n -e 'test[ ]+(![ ])?(-.[ ]+)?"?[.,_x]' $scripts; then - echo "use \`test \"X...\"' instead of \`test \"x...\"'" - status=$EXIT_FAILURE -fi - # Check for using test X... instead of test "X... if $EGREP -n -e 'test[ ]+(![ ])?(-.[ ]+)?X' $scripts; then echo "use \`test \"X...\"' instead of \`test X'" @@ -67,12 +62,6 @@ if $EGREP -n -e 'test[ ]+(![ ])?-e' $scripts; then status=$EXIT_FAILURE fi -# Check for problems with variable assignments. -if $EGREP -n -e '[^ ]=[^ ].*(break|continue)' $scripts; then - echo "assignments on the same line as a \`break' or \`continue' may have no effect" - status=$EXIT_FAILURE -fi - # Check for uses of Xsed without corresponding echo "X if $EGREP -n -e '\$Xsed' $scripts | $EGREP -v -n -e '\$ECHO \\*"X'; then echo "occurrences of \`\$Xsed\' without \`echo \"X\' on the same line"