]> 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:04:16 +0000 (13:04 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 7 Oct 2004 13:04:16 +0000 (13:04 +0000)
from autoconf >= 2.59.

ChangeLog
tests/sh.test

index d165b04411aa57d412dcba4363df3c05d984584b..dfe8de0aaf73b53be09e9429ac65132ac1ad251b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +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.
+
 2004-10-07  Gary V. Vaughan  <gary@gnu.org>
 
        * tests/defs.m4sh (scripts): Actually scan the generated ltmain.sh
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"