Parent Directory
|
Revision Log
Various new tidies.
1 | ---------------------------- Test 1 ------------------------------ |
2 | PATTERN at the start of a line. |
3 | In the middle of a line, PATTERN appears. |
4 | Check up on PATTERN near the end. |
5 | ---------------------------- Test 2 ------------------------------ |
6 | PATTERN at the start of a line. |
7 | ---------------------------- Test 3 ------------------------------ |
8 | 7:PATTERN at the start of a line. |
9 | 8:In the middle of a line, PATTERN appears. |
10 | 10:This pattern is in lower case. |
11 | 608:Check up on PATTERN near the end. |
12 | ---------------------------- Test 4 ------------------------------ |
13 | 4 |
14 | ---------------------------- Test 5 ------------------------------ |
15 | ./testdata/grepinput:7:PATTERN at the start of a line. |
16 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
17 | ./testdata/grepinput:10:This pattern is in lower case. |
18 | ./testdata/grepinput:608:Check up on PATTERN near the end. |
19 | ./testdata/grepinputx:3:Here is the pattern again. |
20 | ./testdata/grepinputx:5:Pattern |
21 | ---------------------------- Test 6 ------------------------------ |
22 | 7:PATTERN at the start of a line. |
23 | 8:In the middle of a line, PATTERN appears. |
24 | 10:This pattern is in lower case. |
25 | 608:Check up on PATTERN near the end. |
26 | 3:Here is the pattern again. |
27 | 5:Pattern |
28 | ---------------------------- Test 7 ------------------------------ |
29 | ./testdata/grepinput |
30 | ./testdata/grepinputx |
31 | ---------------------------- Test 8 ------------------------------ |
32 | ./testdata/grepinput |
33 | ---------------------------- Test 9 ------------------------------ |
34 | RC=0 |
35 | ---------------------------- Test 10 ----------------------------- |
36 | RC=1 |
37 | ---------------------------- Test 11 ----------------------------- |
38 | 1:This is a second file of input for the pcregrep tests. |
39 | 2: |
40 | 4: |
41 | 5:Pattern |
42 | 6:That time it was on a line by itself. |
43 | 7: |
44 | 8:To pat or not to pat, that is the question. |
45 | 9: |
46 | 10:complete pair |
47 | 11:of lines |
48 | 12: |
49 | 13:That was a complete pair |
50 | 14:of lines all by themselves. |
51 | 15: |
52 | 16:complete pair |
53 | 17:of lines |
54 | 18: |
55 | 19:And there they were again, to check line numbers. |
56 | 20: |
57 | 21:one |
58 | 22:two |
59 | 23:three |
60 | 24:four |
61 | 25:five |
62 | 26:six |
63 | 27:seven |
64 | 28:eight |
65 | 29:nine |
66 | 30:ten |
67 | 31:eleven |
68 | 32:twelve |
69 | 33:thirteen |
70 | 34:fourteen |
71 | 35:fifteen |
72 | 36:sixteen |
73 | 37:seventeen |
74 | 38:eighteen |
75 | 39:nineteen |
76 | 40:twenty |
77 | 41: |
78 | 42:Here follows some CR/LF/CRLF test data. |
79 | 43: |
80 | 44:abc def |
81 | 45:ghi |
82 | 46:jkl |
83 | 47: |
84 | 48:This is the last line of this file. |
85 | ---------------------------- Test 12 ----------------------------- |
86 | Pattern |
87 | ---------------------------- Test 13 ----------------------------- |
88 | Here is the pattern again. |
89 | That time it was on a line by itself. |
90 | ---------------------------- Test 14 ----------------------------- |
91 | ./testdata/grepinputx:To pat or not to pat, that is the question. |
92 | ---------------------------- Test 15 ----------------------------- |
93 | pcregrep: Error in command-line regex at offset 4: nothing to repeat |
94 | ---------------------------- Test 16 ----------------------------- |
95 | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory |
96 | ---------------------------- Test 17 ----------------------------- |
97 | features should be added at the end, because some of the tests involve the |
98 | output of line numbers, and we don't want these to change. |
99 | ---------------------------- Test 18 ----------------------------- |
100 | 4:features should be added at the end, because some of the tests involve the |
101 | output of line numbers, and we don't want these to change. |
102 | 583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. |
103 | ------------------------------------------------------------------------------- |
104 | ---------------------------- Test 19 ----------------------------- |
105 | Pattern |
106 | ---------------------------- Test 20 ----------------------------- |
107 | 10:complete pair |
108 | of lines |
109 | 16:complete pair |
110 | of lines |
111 | ---------------------------- Test 21 ----------------------------- |
112 | 24:four |
113 | 25-five |
114 | 26-six |
115 | 27-seven |
116 | -- |
117 | 34:fourteen |
118 | 35-fifteen |
119 | 36-sixteen |
120 | 37-seventeen |
121 | ---------------------------- Test 22 ----------------------------- |
122 | 21-one |
123 | 22-two |
124 | 23-three |
125 | 24:four |
126 | -- |
127 | 31-eleven |
128 | 32-twelve |
129 | 33-thirteen |
130 | 34:fourteen |
131 | ---------------------------- Test 23 ----------------------------- |
132 | one |
133 | two |
134 | three |
135 | four |
136 | five |
137 | six |
138 | seven |
139 | -- |
140 | eleven |
141 | twelve |
142 | thirteen |
143 | fourteen |
144 | fifteen |
145 | sixteen |
146 | seventeen |
147 | ---------------------------- Test 24 ----------------------------- |
148 | four |
149 | five |
150 | six |
151 | seven |
152 | eight |
153 | nine |
154 | ten |
155 | eleven |
156 | twelve |
157 | thirteen |
158 | fourteen |
159 | fifteen |
160 | sixteen |
161 | seventeen |
162 | eighteen |
163 | nineteen |
164 | twenty |
165 | |
166 | Here follows some CR/LF/CRLF test data. |
167 | |
168 | ---------------------------- Test 25 ----------------------------- |
169 | 15- |
170 | 16-complete pair |
171 | 17-of lines |
172 | 18- |
173 | 19-And there they were again, to check line numbers. |
174 | 20- |
175 | 21-one |
176 | 22-two |
177 | 23-three |
178 | 24:four |
179 | 25-five |
180 | 26-six |
181 | 27-seven |
182 | 28-eight |
183 | 29-nine |
184 | 30-ten |
185 | 31-eleven |
186 | 32-twelve |
187 | 33-thirteen |
188 | 34:fourteen |
189 | ---------------------------- Test 26 ----------------------------- |
190 | |
191 | complete pair |
192 | of lines |
193 | |
194 | And there they were again, to check line numbers. |
195 | |
196 | one |
197 | two |
198 | three |
199 | four |
200 | five |
201 | six |
202 | seven |
203 | eight |
204 | nine |
205 | ten |
206 | eleven |
207 | twelve |
208 | thirteen |
209 | fourteen |
210 | fifteen |
211 | sixteen |
212 | seventeen |
213 | eighteen |
214 | nineteen |
215 | twenty |
216 | |
217 | Here follows some CR/LF/CRLF test data. |
218 | |
219 | ---------------------------- Test 27 ----------------------------- |
220 | four |
221 | five |
222 | six |
223 | seven |
224 | eight |
225 | nine |
226 | ten |
227 | eleven |
228 | twelve |
229 | thirteen |
230 | fourteen |
231 | fifteen |
232 | sixteen |
233 | seventeen |
234 | eighteen |
235 | nineteen |
236 | twenty |
237 | |
238 | Here follows some CR/LF/CRLF test data. |
239 | |
240 | abc def |
241 | ---------------------------- Test 28 ----------------------------- |
242 | 14-of lines all by themselves. |
243 | 15- |
244 | 16-complete pair |
245 | 17-of lines |
246 | 18- |
247 | 19-And there they were again, to check line numbers. |
248 | 20- |
249 | 21-one |
250 | 22-two |
251 | 23-three |
252 | 24:four |
253 | 25-five |
254 | 26-six |
255 | 27-seven |
256 | 28-eight |
257 | 29-nine |
258 | 30-ten |
259 | 31-eleven |
260 | 32-twelve |
261 | 33-thirteen |
262 | 34:fourteen |
263 | ---------------------------- Test 29 ----------------------------- |
264 | of lines all by themselves. |
265 | |
266 | complete pair |
267 | of lines |
268 | |
269 | And there they were again, to check line numbers. |
270 | |
271 | one |
272 | two |
273 | three |
274 | four |
275 | five |
276 | six |
277 | seven |
278 | eight |
279 | nine |
280 | ten |
281 | eleven |
282 | twelve |
283 | thirteen |
284 | fourteen |
285 | fifteen |
286 | sixteen |
287 | seventeen |
288 | eighteen |
289 | nineteen |
290 | twenty |
291 | |
292 | Here follows some CR/LF/CRLF test data. |
293 | |
294 | abc def |
295 | ghi |
296 | jkl |
297 | ---------------------------- Test 30 ----------------------------- |
298 | ./testdata/grepinput-4-features should be added at the end, because some of the tests involve the |
299 | ./testdata/grepinput-5-output of line numbers, and we don't want these to change. |
300 | ./testdata/grepinput-6- |
301 | ./testdata/grepinput:7:PATTERN at the start of a line. |
302 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
303 | ./testdata/grepinput-9- |
304 | ./testdata/grepinput:10:This pattern is in lower case. |
305 | -- |
306 | ./testdata/grepinput-605-PUT NEW DATA ABOVE THIS LINE. |
307 | ./testdata/grepinput-606-============================= |
308 | ./testdata/grepinput-607- |
309 | ./testdata/grepinput:608:Check up on PATTERN near the end. |
310 | -- |
311 | ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests. |
312 | ./testdata/grepinputx-2- |
313 | ./testdata/grepinputx:3:Here is the pattern again. |
314 | ./testdata/grepinputx-4- |
315 | ./testdata/grepinputx:5:Pattern |
316 | ---------------------------- Test 31 ----------------------------- |
317 | ./testdata/grepinput:7:PATTERN at the start of a line. |
318 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
319 | ./testdata/grepinput-9- |
320 | ./testdata/grepinput:10:This pattern is in lower case. |
321 | ./testdata/grepinput-11- |
322 | ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long. |
323 | ./testdata/grepinput-13- |
324 | -- |
325 | ./testdata/grepinput:608:Check up on PATTERN near the end. |
326 | ./testdata/grepinput-609-This is the last line of this file. |
327 | -- |
328 | ./testdata/grepinputx:3:Here is the pattern again. |
329 | ./testdata/grepinputx-4- |
330 | ./testdata/grepinputx:5:Pattern |
331 | ./testdata/grepinputx-6-That time it was on a line by itself. |
332 | ./testdata/grepinputx-7- |
333 | ./testdata/grepinputx-8-To pat or not to pat, that is the question. |
334 | ---------------------------- Test 32 ----------------------------- |
335 | ./testdata/grepinputx |
336 | ---------------------------- Test 33 ----------------------------- |
337 | pcregrep: Failed to open ./testdata/grepnonexist: No such file or directory |
338 | RC=2 |
339 | ---------------------------- Test 34 ----------------------------- |
340 | RC=2 |
341 | ---------------------------- Test 35 ----------------------------- |
342 | ./testdata/grepinputx |
343 | RC=0 |
344 | ---------------------------- Test 36 ----------------------------- |
345 | ./testdata/grepinput8 |
346 | ./testdata/grepinputx |
347 | RC=0 |
348 | ---------------------------- Test 37 ----------------------------- |
349 | aaaaa0 |
350 | aaaaa2 |
351 | RC=0 |
352 | ======== STDERR ======== |
353 | pcregrep: pcre_exec() error -8 while matching this line: |
354 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
355 | pcregrep: error -8 means that a resource limit was exceeded |
356 | pcregrep: check your regex for nested unlimited loops |
357 | pcregrep: pcre_exec() error -8 while matching this line: |
358 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
359 | ---------------------------- Test 38 ------------------------------ |
360 | This line contains a binary zero here > |