From: Ralf Wildenhues Date: Thu, 7 Oct 2004 13:04:16 +0000 (+0000) Subject: * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE X-Git-Tag: release-1-9f~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d343ef171bb7984f24f3d03ecf1b572e68a47ff1;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 d165b0441..dfe8de0aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-07 Ralf Wildenhues + + * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE + from autoconf >= 2.59. + 2004-10-07 Gary V. Vaughan * tests/defs.m4sh (scripts): Actually scan the generated ltmain.sh 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"