grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/tests/foad1.sh


From: Julian Foad
Subject: Changes to grep/tests/foad1.sh
Date: Thu, 28 Apr 2005 16:27:12 -0400

Index: grep/tests/foad1.sh
diff -u grep/tests/foad1.sh:1.5 grep/tests/foad1.sh:1.6
--- grep/tests/foad1.sh:1.5     Thu Apr 28 15:17:14 2005
+++ grep/tests/foad1.sh Thu Apr 28 20:27:11 2005
@@ -80,4 +80,13 @@
 grep_test "LIN7C 55327/" "" -wF -e 5327 -e 5532
 
 
+# Test character class erroneously matching a '[' character.
+# If the UTF-8 locale doesn't work, skip this test silently.
+if LC_ALL=cs_CZ.UTF-8 locale -k LC_CTYPE 2>/dev/null |
+  "${GREP}" -q "charmap.*UTF-8"
+then
+  LC_ALL=cs_CZ.UTF-8 grep_test "[/" "" "[[:alpha:]]" -E
+fi
+
+
 exit $failures




reply via email to

[Prev in Thread] Current Thread [Next in Thread]