/[grep]/grep/tests/foad1.sh
ViewVC logotype

Diff of /grep/tests/foad1.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by charles_levert, Fri Nov 4 03:00:59 2005 UTC revision 1.14 by charles_levert, Thu Nov 10 19:57:54 2005 UTC
# Line 96  grep_test "LIN7C 55327/" "" -wF -e 5327 Line 96  grep_test "LIN7C 55327/" "" -wF -e 5327
96  grep_test 'xyz/' 'y/' -o 'y*'  grep_test 'xyz/' 'y/' -o 'y*'
97  grep_test 'xyz/' "x${CB}y${CE}z/" --color=always 'y*'  grep_test 'xyz/' "x${CB}y${CE}z/" --color=always 'y*'
98    
99    # Test for increasing/decreasing-length word matches,
100    # for independence from pattern order within the pattern list,
101    # and for preferring the longest match at a given position.
102    x0='a bb ccc dddd/'
103    x1='dddd ccc bb a/'
104    x2='bcd abcd abc bc bcd abc/'
105    x3='bc abcd bc/'
106    y0="a ${CB}bb${CE} ${CB}ccc${CE} dddd/"
107    y1="dddd ${CB}ccc${CE} ${CB}bb${CE} a/"
108    y2="bcd abcd abc ${CB}bc${CE} bcd abc/"
109    y3="${CB}bc${CE} abcd ${CB}bc${CE}/"
110    grep_test "$x0" "$y0" -E --color=always -e bb -e cc -e ccc
111    grep_test "$x0" "$y0" -F --color=always -e bb -e cc -e ccc
112    grep_test "$x0" "$y0" -E --color=always -e bb -e ccc -e cc
113    grep_test "$x0" "$y0" -F --color=always -e bb -e ccc -e cc
114    grep_test "$x0" "$y0" -E -w --color=always -e bb -e ccc
115    grep_test "$x0" "$y0" -F -w --color=always -e bb -e ccc
116    grep_test "$x0" "$y0" -E -w --color=always -e ccc -e bb
117    grep_test "$x0" "$y0" -F -w --color=always -e ccc -e bb
118    grep_test "$x1" "$y1" -E -w --color=always -e bb -e ccc
119    grep_test "$x1" "$y1" -F -w --color=always -e bb -e ccc
120    grep_test "$x1" "$y1" -E -w --color=always -e ccc -e bb
121    grep_test "$x1" "$y1" -F -w --color=always -e ccc -e bb
122    grep_test "$x2" "$y2" -E -w --color=always bc
123    grep_test "$x2" "$y2" -F -w --color=always bc
124    grep_test "$x3" "$y3" -E -w --color=always bc
125    grep_test "$x3" "$y3" -F -w --color=always bc
126    
127    
128  # The rest of this file is meant to be executed under this locale.  # The rest of this file is meant to be executed under this locale.
129  LC_ALL=cs_CZ.UTF-8; export LC_ALL  LC_ALL=cs_CZ.UTF-8; export LC_ALL

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26