]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 7 Oct 2004 13:01:36 +0000 (13:01 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 7 Oct 2004 13:01:36 +0000 (13:01 +0000)
from autoconf >= 2.59.

ChangeLog
tests/sh.test

index dcbce38dad7f9cf5357cc042541a1ec4a0812b49..475b64075c6ef6de818620a6b34735c5c0edcdaf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-10-07  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
+       * 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  <gary@gnu.org>
index 3ec29444fd5034bb8a4f5034ab456c575db8e120..7ef94a3542aa40036bc98f1dfe9c4c1b9fae34e8 100755 (executable)
@@ -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"