[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Remove offending sh.test tests
From: |
Ralf Wildenhues |
Subject: |
FYI: Remove offending sh.test tests |
Date: |
Thu, 7 Oct 2004 15:05:35 +0200 |
User-agent: |
Mutt/1.4.1i |
Applied to HEAD and branch-2-0.
2004-10-07 Ralf Wildenhues <address@hidden>
* tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
from autoconf >= 2.59.
Index: tests/sh.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/sh.test,v
retrieving revision 1.19
diff -u -r1.19 sh.test
--- tests/sh.test 23 Sep 2004 14:50:36 -0000 1.19
+++ tests/sh.test 7 Oct 2004 12:58:30 -0000
@@ -44,11 +44,6 @@
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 @@
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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Remove offending sh.test tests,
Ralf Wildenhues <=