Index: grep/tests/foad1.sh
diff -u grep/tests/foad1.sh:1.11 grep/tests/foad1.sh:1.12
--- grep/tests/foad1.sh:1.11    Thu Jun 23 00:55:58 2005
+++ grep/tests/foad1.sh Wed Aug 24 07:28:29 2005
@@ -89,6 +89,10 @@
 grep_test "A/CX/B/C/" "A/B/C/" -wF -e A -e B -e C
 grep_test "LIN7C 55327/" "" -wF -e 5327 -e 5532
 
+# Test for non-empty matches following empty ones.
+grep_test 'xyz/' 'y/' -o 'y*'
+grep_test 'xyz/' "x${CB}y${CE}z/" --color=always 'y*'
+
 
 # The rest of this file is meant to be executed under this locale.
 LC_ALL=cs_CZ.UTF-8; export LC_ALL


Reply via email to