2 # This script was generated automatically by mk-script.
7 test "$VERBOSE" && echo=echo ||
echo=:
8 $echo testing program
: $xx
10 test "$srcdir" || srcdir
=.
11 test "$VERBOSE" && $xx --version 2> /dev
/null
13 # Make sure we get English translations.
21 cat $srcdir/1.I |
$xx 'abcd' '[]*]' > 1.O
2> 1.E
23 if test $code != 0; then
24 $echo "Test 1(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
25 errors
=`expr $errors + 1`
27 cmp 1.O
$srcdir/1.X
> /dev
/null
2>&1
29 0) if test "$VERBOSE"; then $echo "passed 1(|)"; fi;;
30 1) $echo "Test 1(|) failed: files 1.O and $srcdir/1.X differ" 1>&2
31 (diff -c 1.O
$srcdir/1.X
) 2> /dev
/null
32 errors
=`expr $errors + 1`;;
33 2) $echo "Test 1(|) may have failed." 1>&2
34 $echo The
command "cmp 1.O $srcdir/1.X" failed.
1>&2
35 errors
=`expr $errors + 1`;;
38 test -s 1.E ||
rm -f 1.E
39 $xx 'abcd' '[]*]' < $srcdir/1.I
> 1.O
2> 1.E
41 if test $code != 0; then
42 $echo "Test 1(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
43 errors
=`expr $errors + 1`
45 cmp 1.O
$srcdir/1.X
> /dev
/null
2>&1
47 0) if test "$VERBOSE"; then $echo "passed 1(<)"; fi;;
48 1) $echo "Test 1(<) failed: files 1.O and $srcdir/1.X differ" 1>&2
49 (diff -c 1.O
$srcdir/1.X
) 2> /dev
/null
50 errors
=`expr $errors + 1`;;
51 2) $echo "Test 1(<) may have failed." 1>&2
52 $echo The
command "cmp 1.O $srcdir/1.X" failed.
1>&2
53 errors
=`expr $errors + 1`;;
56 test -s 1.E ||
rm -f 1.E
57 cat $srcdir/2.I |
$xx 'abc' '[%*]xyz' > 2.O
2> 2.E
59 if test $code != 0; then
60 $echo "Test 2(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
61 errors
=`expr $errors + 1`
63 cmp 2.O
$srcdir/2.X
> /dev
/null
2>&1
65 0) if test "$VERBOSE"; then $echo "passed 2(|)"; fi;;
66 1) $echo "Test 2(|) failed: files 2.O and $srcdir/2.X differ" 1>&2
67 (diff -c 2.O
$srcdir/2.X
) 2> /dev
/null
68 errors
=`expr $errors + 1`;;
69 2) $echo "Test 2(|) may have failed." 1>&2
70 $echo The
command "cmp 2.O $srcdir/2.X" failed.
1>&2
71 errors
=`expr $errors + 1`;;
74 test -s 2.E ||
rm -f 2.E
75 $xx 'abc' '[%*]xyz' < $srcdir/2.I
> 2.O
2> 2.E
77 if test $code != 0; then
78 $echo "Test 2(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
79 errors
=`expr $errors + 1`
81 cmp 2.O
$srcdir/2.X
> /dev
/null
2>&1
83 0) if test "$VERBOSE"; then $echo "passed 2(<)"; fi;;
84 1) $echo "Test 2(<) failed: files 2.O and $srcdir/2.X differ" 1>&2
85 (diff -c 2.O
$srcdir/2.X
) 2> /dev
/null
86 errors
=`expr $errors + 1`;;
87 2) $echo "Test 2(<) may have failed." 1>&2
88 $echo The
command "cmp 2.O $srcdir/2.X" failed.
1>&2
89 errors
=`expr $errors + 1`;;
92 test -s 2.E ||
rm -f 2.E
93 cat $srcdir/3.I |
$xx '' '[.*]' > 3.O
2> 3.E
95 if test $code != 0; then
96 $echo "Test 3(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
97 errors
=`expr $errors + 1`
99 cmp 3.O
$srcdir/3.X
> /dev
/null
2>&1
101 0) if test "$VERBOSE"; then $echo "passed 3(|)"; fi;;
102 1) $echo "Test 3(|) failed: files 3.O and $srcdir/3.X differ" 1>&2
103 (diff -c 3.O
$srcdir/3.X
) 2> /dev
/null
104 errors
=`expr $errors + 1`;;
105 2) $echo "Test 3(|) may have failed." 1>&2
106 $echo The
command "cmp 3.O $srcdir/3.X" failed.
1>&2
107 errors
=`expr $errors + 1`;;
110 test -s 3.E ||
rm -f 3.E
111 $xx '' '[.*]' < $srcdir/3.I
> 3.O
2> 3.E
113 if test $code != 0; then
114 $echo "Test 3(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
115 errors
=`expr $errors + 1`
117 cmp 3.O
$srcdir/3.X
> /dev
/null
2>&1
119 0) if test "$VERBOSE"; then $echo "passed 3(<)"; fi;;
120 1) $echo "Test 3(<) failed: files 3.O and $srcdir/3.X differ" 1>&2
121 (diff -c 3.O
$srcdir/3.X
) 2> /dev
/null
122 errors
=`expr $errors + 1`;;
123 2) $echo "Test 3(<) may have failed." 1>&2
124 $echo The
command "cmp 3.O $srcdir/3.X" failed.
1>&2
125 errors
=`expr $errors + 1`;;
128 test -s 3.E ||
rm -f 3.E
129 cat $srcdir/4.I |
$xx -t 'abcd' 'xy' > 4.O
2> 4.E
131 if test $code != 0; then
132 $echo "Test 4(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
133 errors
=`expr $errors + 1`
135 cmp 4.O
$srcdir/4.X
> /dev
/null
2>&1
137 0) if test "$VERBOSE"; then $echo "passed 4(|)"; fi;;
138 1) $echo "Test 4(|) failed: files 4.O and $srcdir/4.X differ" 1>&2
139 (diff -c 4.O
$srcdir/4.X
) 2> /dev
/null
140 errors
=`expr $errors + 1`;;
141 2) $echo "Test 4(|) may have failed." 1>&2
142 $echo The
command "cmp 4.O $srcdir/4.X" failed.
1>&2
143 errors
=`expr $errors + 1`;;
146 test -s 4.E ||
rm -f 4.E
147 $xx -t 'abcd' 'xy' < $srcdir/4.I
> 4.O
2> 4.E
149 if test $code != 0; then
150 $echo "Test 4(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
151 errors
=`expr $errors + 1`
153 cmp 4.O
$srcdir/4.X
> /dev
/null
2>&1
155 0) if test "$VERBOSE"; then $echo "passed 4(<)"; fi;;
156 1) $echo "Test 4(<) failed: files 4.O and $srcdir/4.X differ" 1>&2
157 (diff -c 4.O
$srcdir/4.X
) 2> /dev
/null
158 errors
=`expr $errors + 1`;;
159 2) $echo "Test 4(<) may have failed." 1>&2
160 $echo The
command "cmp 4.O $srcdir/4.X" failed.
1>&2
161 errors
=`expr $errors + 1`;;
164 test -s 4.E ||
rm -f 4.E
165 cat $srcdir/5.I |
$xx 'abcd' 'xy' > 5.O
2> 5.E
167 if test $code != 0; then
168 $echo "Test 5(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
169 errors
=`expr $errors + 1`
171 cmp 5.O
$srcdir/5.X
> /dev
/null
2>&1
173 0) if test "$VERBOSE"; then $echo "passed 5(|)"; fi;;
174 1) $echo "Test 5(|) failed: files 5.O and $srcdir/5.X differ" 1>&2
175 (diff -c 5.O
$srcdir/5.X
) 2> /dev
/null
176 errors
=`expr $errors + 1`;;
177 2) $echo "Test 5(|) may have failed." 1>&2
178 $echo The
command "cmp 5.O $srcdir/5.X" failed.
1>&2
179 errors
=`expr $errors + 1`;;
182 test -s 5.E ||
rm -f 5.E
183 $xx 'abcd' 'xy' < $srcdir/5.I
> 5.O
2> 5.E
185 if test $code != 0; then
186 $echo "Test 5(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
187 errors
=`expr $errors + 1`
189 cmp 5.O
$srcdir/5.X
> /dev
/null
2>&1
191 0) if test "$VERBOSE"; then $echo "passed 5(<)"; fi;;
192 1) $echo "Test 5(<) failed: files 5.O and $srcdir/5.X differ" 1>&2
193 (diff -c 5.O
$srcdir/5.X
) 2> /dev
/null
194 errors
=`expr $errors + 1`;;
195 2) $echo "Test 5(<) may have failed." 1>&2
196 $echo The
command "cmp 5.O $srcdir/5.X" failed.
1>&2
197 errors
=`expr $errors + 1`;;
200 test -s 5.E ||
rm -f 5.E
201 cat $srcdir/6.I |
$xx 'abcd' 'x[y*]' > 6.O
2> 6.E
203 if test $code != 0; then
204 $echo "Test 6(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
205 errors
=`expr $errors + 1`
207 cmp 6.O
$srcdir/6.X
> /dev
/null
2>&1
209 0) if test "$VERBOSE"; then $echo "passed 6(|)"; fi;;
210 1) $echo "Test 6(|) failed: files 6.O and $srcdir/6.X differ" 1>&2
211 (diff -c 6.O
$srcdir/6.X
) 2> /dev
/null
212 errors
=`expr $errors + 1`;;
213 2) $echo "Test 6(|) may have failed." 1>&2
214 $echo The
command "cmp 6.O $srcdir/6.X" failed.
1>&2
215 errors
=`expr $errors + 1`;;
218 test -s 6.E ||
rm -f 6.E
219 $xx 'abcd' 'x[y*]' < $srcdir/6.I
> 6.O
2> 6.E
221 if test $code != 0; then
222 $echo "Test 6(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
223 errors
=`expr $errors + 1`
225 cmp 6.O
$srcdir/6.X
> /dev
/null
2>&1
227 0) if test "$VERBOSE"; then $echo "passed 6(<)"; fi;;
228 1) $echo "Test 6(<) failed: files 6.O and $srcdir/6.X differ" 1>&2
229 (diff -c 6.O
$srcdir/6.X
) 2> /dev
/null
230 errors
=`expr $errors + 1`;;
231 2) $echo "Test 6(<) may have failed." 1>&2
232 $echo The
command "cmp 6.O $srcdir/6.X" failed.
1>&2
233 errors
=`expr $errors + 1`;;
236 test -s 6.E ||
rm -f 6.E
237 cat $srcdir/7.I |
$xx -s 'a-p' '%[.*]$' > 7.O
2> 7.E
239 if test $code != 0; then
240 $echo "Test 7(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
241 errors
=`expr $errors + 1`
243 cmp 7.O
$srcdir/7.X
> /dev
/null
2>&1
245 0) if test "$VERBOSE"; then $echo "passed 7(|)"; fi;;
246 1) $echo "Test 7(|) failed: files 7.O and $srcdir/7.X differ" 1>&2
247 (diff -c 7.O
$srcdir/7.X
) 2> /dev
/null
248 errors
=`expr $errors + 1`;;
249 2) $echo "Test 7(|) may have failed." 1>&2
250 $echo The
command "cmp 7.O $srcdir/7.X" failed.
1>&2
251 errors
=`expr $errors + 1`;;
254 test -s 7.E ||
rm -f 7.E
255 $xx -s 'a-p' '%[.*]$' < $srcdir/7.I
> 7.O
2> 7.E
257 if test $code != 0; then
258 $echo "Test 7(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
259 errors
=`expr $errors + 1`
261 cmp 7.O
$srcdir/7.X
> /dev
/null
2>&1
263 0) if test "$VERBOSE"; then $echo "passed 7(<)"; fi;;
264 1) $echo "Test 7(<) failed: files 7.O and $srcdir/7.X differ" 1>&2
265 (diff -c 7.O
$srcdir/7.X
) 2> /dev
/null
266 errors
=`expr $errors + 1`;;
267 2) $echo "Test 7(<) may have failed." 1>&2
268 $echo The
command "cmp 7.O $srcdir/7.X" failed.
1>&2
269 errors
=`expr $errors + 1`;;
272 test -s 7.E ||
rm -f 7.E
273 cat $srcdir/8.I |
$xx -s 'a-p' '[.*]$' > 8.O
2> 8.E
275 if test $code != 0; then
276 $echo "Test 8(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
277 errors
=`expr $errors + 1`
279 cmp 8.O
$srcdir/8.X
> /dev
/null
2>&1
281 0) if test "$VERBOSE"; then $echo "passed 8(|)"; fi;;
282 1) $echo "Test 8(|) failed: files 8.O and $srcdir/8.X differ" 1>&2
283 (diff -c 8.O
$srcdir/8.X
) 2> /dev
/null
284 errors
=`expr $errors + 1`;;
285 2) $echo "Test 8(|) may have failed." 1>&2
286 $echo The
command "cmp 8.O $srcdir/8.X" failed.
1>&2
287 errors
=`expr $errors + 1`;;
290 test -s 8.E ||
rm -f 8.E
291 $xx -s 'a-p' '[.*]$' < $srcdir/8.I
> 8.O
2> 8.E
293 if test $code != 0; then
294 $echo "Test 8(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
295 errors
=`expr $errors + 1`
297 cmp 8.O
$srcdir/8.X
> /dev
/null
2>&1
299 0) if test "$VERBOSE"; then $echo "passed 8(<)"; fi;;
300 1) $echo "Test 8(<) failed: files 8.O and $srcdir/8.X differ" 1>&2
301 (diff -c 8.O
$srcdir/8.X
) 2> /dev
/null
302 errors
=`expr $errors + 1`;;
303 2) $echo "Test 8(<) may have failed." 1>&2
304 $echo The
command "cmp 8.O $srcdir/8.X" failed.
1>&2
305 errors
=`expr $errors + 1`;;
308 test -s 8.E ||
rm -f 8.E
309 cat $srcdir/9.I |
$xx -s 'a-p' '%[.*]' > 9.O
2> 9.E
311 if test $code != 0; then
312 $echo "Test 9(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
313 errors
=`expr $errors + 1`
315 cmp 9.O
$srcdir/9.X
> /dev
/null
2>&1
317 0) if test "$VERBOSE"; then $echo "passed 9(|)"; fi;;
318 1) $echo "Test 9(|) failed: files 9.O and $srcdir/9.X differ" 1>&2
319 (diff -c 9.O
$srcdir/9.X
) 2> /dev
/null
320 errors
=`expr $errors + 1`;;
321 2) $echo "Test 9(|) may have failed." 1>&2
322 $echo The
command "cmp 9.O $srcdir/9.X" failed.
1>&2
323 errors
=`expr $errors + 1`;;
326 test -s 9.E ||
rm -f 9.E
327 $xx -s 'a-p' '%[.*]' < $srcdir/9.I
> 9.O
2> 9.E
329 if test $code != 0; then
330 $echo "Test 9(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
331 errors
=`expr $errors + 1`
333 cmp 9.O
$srcdir/9.X
> /dev
/null
2>&1
335 0) if test "$VERBOSE"; then $echo "passed 9(<)"; fi;;
336 1) $echo "Test 9(<) failed: files 9.O and $srcdir/9.X differ" 1>&2
337 (diff -c 9.O
$srcdir/9.X
) 2> /dev
/null
338 errors
=`expr $errors + 1`;;
339 2) $echo "Test 9(<) may have failed." 1>&2
340 $echo The
command "cmp 9.O $srcdir/9.X" failed.
1>&2
341 errors
=`expr $errors + 1`;;
344 test -s 9.E ||
rm -f 9.E
345 cat $srcdir/a.I |
$xx -s '[a-z]' > a.O
2> a.E
347 if test $code != 0; then
348 $echo "Test a(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
349 errors
=`expr $errors + 1`
351 cmp a.O
$srcdir/a.X
> /dev
/null
2>&1
353 0) if test "$VERBOSE"; then $echo "passed a(|)"; fi;;
354 1) $echo "Test a(|) failed: files a.O and $srcdir/a.X differ" 1>&2
355 (diff -c a.O
$srcdir/a.X
) 2> /dev
/null
356 errors
=`expr $errors + 1`;;
357 2) $echo "Test a(|) may have failed." 1>&2
358 $echo The
command "cmp a.O $srcdir/a.X" failed.
1>&2
359 errors
=`expr $errors + 1`;;
362 test -s a.E ||
rm -f a.E
363 $xx -s '[a-z]' < $srcdir/a.I
> a.O
2> a.E
365 if test $code != 0; then
366 $echo "Test a(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
367 errors
=`expr $errors + 1`
369 cmp a.O
$srcdir/a.X
> /dev
/null
2>&1
371 0) if test "$VERBOSE"; then $echo "passed a(<)"; fi;;
372 1) $echo "Test a(<) failed: files a.O and $srcdir/a.X differ" 1>&2
373 (diff -c a.O
$srcdir/a.X
) 2> /dev
/null
374 errors
=`expr $errors + 1`;;
375 2) $echo "Test a(<) may have failed." 1>&2
376 $echo The
command "cmp a.O $srcdir/a.X" failed.
1>&2
377 errors
=`expr $errors + 1`;;
380 test -s a.E ||
rm -f a.E
381 cat $srcdir/b.I |
$xx -s '[a-c]' > b.O
2> b.E
383 if test $code != 0; then
384 $echo "Test b(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
385 errors
=`expr $errors + 1`
387 cmp b.O
$srcdir/b.X
> /dev
/null
2>&1
389 0) if test "$VERBOSE"; then $echo "passed b(|)"; fi;;
390 1) $echo "Test b(|) failed: files b.O and $srcdir/b.X differ" 1>&2
391 (diff -c b.O
$srcdir/b.X
) 2> /dev
/null
392 errors
=`expr $errors + 1`;;
393 2) $echo "Test b(|) may have failed." 1>&2
394 $echo The
command "cmp b.O $srcdir/b.X" failed.
1>&2
395 errors
=`expr $errors + 1`;;
398 test -s b.E ||
rm -f b.E
399 $xx -s '[a-c]' < $srcdir/b.I
> b.O
2> b.E
401 if test $code != 0; then
402 $echo "Test b(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
403 errors
=`expr $errors + 1`
405 cmp b.O
$srcdir/b.X
> /dev
/null
2>&1
407 0) if test "$VERBOSE"; then $echo "passed b(<)"; fi;;
408 1) $echo "Test b(<) failed: files b.O and $srcdir/b.X differ" 1>&2
409 (diff -c b.O
$srcdir/b.X
) 2> /dev
/null
410 errors
=`expr $errors + 1`;;
411 2) $echo "Test b(<) may have failed." 1>&2
412 $echo The
command "cmp b.O $srcdir/b.X" failed.
1>&2
413 errors
=`expr $errors + 1`;;
416 test -s b.E ||
rm -f b.E
417 cat $srcdir/c.I |
$xx -s '[a-b]' > c.O
2> c.E
419 if test $code != 0; then
420 $echo "Test c(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
421 errors
=`expr $errors + 1`
423 cmp c.O
$srcdir/c.X
> /dev
/null
2>&1
425 0) if test "$VERBOSE"; then $echo "passed c(|)"; fi;;
426 1) $echo "Test c(|) failed: files c.O and $srcdir/c.X differ" 1>&2
427 (diff -c c.O
$srcdir/c.X
) 2> /dev
/null
428 errors
=`expr $errors + 1`;;
429 2) $echo "Test c(|) may have failed." 1>&2
430 $echo The
command "cmp c.O $srcdir/c.X" failed.
1>&2
431 errors
=`expr $errors + 1`;;
434 test -s c.E ||
rm -f c.E
435 $xx -s '[a-b]' < $srcdir/c.I
> c.O
2> c.E
437 if test $code != 0; then
438 $echo "Test c(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
439 errors
=`expr $errors + 1`
441 cmp c.O
$srcdir/c.X
> /dev
/null
2>&1
443 0) if test "$VERBOSE"; then $echo "passed c(<)"; fi;;
444 1) $echo "Test c(<) failed: files c.O and $srcdir/c.X differ" 1>&2
445 (diff -c c.O
$srcdir/c.X
) 2> /dev
/null
446 errors
=`expr $errors + 1`;;
447 2) $echo "Test c(<) may have failed." 1>&2
448 $echo The
command "cmp c.O $srcdir/c.X" failed.
1>&2
449 errors
=`expr $errors + 1`;;
452 test -s c.E ||
rm -f c.E
453 cat $srcdir/d.I |
$xx -s '[b-c]' > d.O
2> d.E
455 if test $code != 0; then
456 $echo "Test d(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
457 errors
=`expr $errors + 1`
459 cmp d.O
$srcdir/d.X
> /dev
/null
2>&1
461 0) if test "$VERBOSE"; then $echo "passed d(|)"; fi;;
462 1) $echo "Test d(|) failed: files d.O and $srcdir/d.X differ" 1>&2
463 (diff -c d.O
$srcdir/d.X
) 2> /dev
/null
464 errors
=`expr $errors + 1`;;
465 2) $echo "Test d(|) may have failed." 1>&2
466 $echo The
command "cmp d.O $srcdir/d.X" failed.
1>&2
467 errors
=`expr $errors + 1`;;
470 test -s d.E ||
rm -f d.E
471 $xx -s '[b-c]' < $srcdir/d.I
> d.O
2> d.E
473 if test $code != 0; then
474 $echo "Test d(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
475 errors
=`expr $errors + 1`
477 cmp d.O
$srcdir/d.X
> /dev
/null
2>&1
479 0) if test "$VERBOSE"; then $echo "passed d(<)"; fi;;
480 1) $echo "Test d(<) failed: files d.O and $srcdir/d.X differ" 1>&2
481 (diff -c d.O
$srcdir/d.X
) 2> /dev
/null
482 errors
=`expr $errors + 1`;;
483 2) $echo "Test d(<) may have failed." 1>&2
484 $echo The
command "cmp d.O $srcdir/d.X" failed.
1>&2
485 errors
=`expr $errors + 1`;;
488 test -s d.E ||
rm -f d.E
489 cat $srcdir/e.I |
$xx -s '[\0-\5]' > e.O
2> e.E
491 if test $code != 0; then
492 $echo "Test e(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
493 errors
=`expr $errors + 1`
495 cmp e.O
$srcdir/e.X
> /dev
/null
2>&1
497 0) if test "$VERBOSE"; then $echo "passed e(|)"; fi;;
498 1) $echo "Test e(|) failed: files e.O and $srcdir/e.X differ" 1>&2
499 (diff -c e.O
$srcdir/e.X
) 2> /dev
/null
500 errors
=`expr $errors + 1`;;
501 2) $echo "Test e(|) may have failed." 1>&2
502 $echo The
command "cmp e.O $srcdir/e.X" failed.
1>&2
503 errors
=`expr $errors + 1`;;
506 test -s e.E ||
rm -f e.E
507 $xx -s '[\0-\5]' < $srcdir/e.I
> e.O
2> e.E
509 if test $code != 0; then
510 $echo "Test e(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
511 errors
=`expr $errors + 1`
513 cmp e.O
$srcdir/e.X
> /dev
/null
2>&1
515 0) if test "$VERBOSE"; then $echo "passed e(<)"; fi;;
516 1) $echo "Test e(<) failed: files e.O and $srcdir/e.X differ" 1>&2
517 (diff -c e.O
$srcdir/e.X
) 2> /dev
/null
518 errors
=`expr $errors + 1`;;
519 2) $echo "Test e(<) may have failed." 1>&2
520 $echo The
command "cmp e.O $srcdir/e.X" failed.
1>&2
521 errors
=`expr $errors + 1`;;
524 test -s e.E ||
rm -f e.E
525 cat $srcdir/f.I |
$xx -d '[=[=]' > f.O
2> f.E
527 if test $code != 0; then
528 $echo "Test f(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
529 errors
=`expr $errors + 1`
531 cmp f.O
$srcdir/f.X
> /dev
/null
2>&1
533 0) if test "$VERBOSE"; then $echo "passed f(|)"; fi;;
534 1) $echo "Test f(|) failed: files f.O and $srcdir/f.X differ" 1>&2
535 (diff -c f.O
$srcdir/f.X
) 2> /dev
/null
536 errors
=`expr $errors + 1`;;
537 2) $echo "Test f(|) may have failed." 1>&2
538 $echo The
command "cmp f.O $srcdir/f.X" failed.
1>&2
539 errors
=`expr $errors + 1`;;
542 test -s f.E ||
rm -f f.E
543 $xx -d '[=[=]' < $srcdir/f.I
> f.O
2> f.E
545 if test $code != 0; then
546 $echo "Test f(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
547 errors
=`expr $errors + 1`
549 cmp f.O
$srcdir/f.X
> /dev
/null
2>&1
551 0) if test "$VERBOSE"; then $echo "passed f(<)"; fi;;
552 1) $echo "Test f(<) failed: files f.O and $srcdir/f.X differ" 1>&2
553 (diff -c f.O
$srcdir/f.X
) 2> /dev
/null
554 errors
=`expr $errors + 1`;;
555 2) $echo "Test f(<) may have failed." 1>&2
556 $echo The
command "cmp f.O $srcdir/f.X" failed.
1>&2
557 errors
=`expr $errors + 1`;;
560 test -s f.E ||
rm -f f.E
561 cat $srcdir/g.I |
$xx -d '[=]=]' > g.O
2> g.E
563 if test $code != 0; then
564 $echo "Test g(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
565 errors
=`expr $errors + 1`
567 cmp g.O
$srcdir/g.X
> /dev
/null
2>&1
569 0) if test "$VERBOSE"; then $echo "passed g(|)"; fi;;
570 1) $echo "Test g(|) failed: files g.O and $srcdir/g.X differ" 1>&2
571 (diff -c g.O
$srcdir/g.X
) 2> /dev
/null
572 errors
=`expr $errors + 1`;;
573 2) $echo "Test g(|) may have failed." 1>&2
574 $echo The
command "cmp g.O $srcdir/g.X" failed.
1>&2
575 errors
=`expr $errors + 1`;;
578 test -s g.E ||
rm -f g.E
579 $xx -d '[=]=]' < $srcdir/g.I
> g.O
2> g.E
581 if test $code != 0; then
582 $echo "Test g(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
583 errors
=`expr $errors + 1`
585 cmp g.O
$srcdir/g.X
> /dev
/null
2>&1
587 0) if test "$VERBOSE"; then $echo "passed g(<)"; fi;;
588 1) $echo "Test g(<) failed: files g.O and $srcdir/g.X differ" 1>&2
589 (diff -c g.O
$srcdir/g.X
) 2> /dev
/null
590 errors
=`expr $errors + 1`;;
591 2) $echo "Test g(<) may have failed." 1>&2
592 $echo The
command "cmp g.O $srcdir/g.X" failed.
1>&2
593 errors
=`expr $errors + 1`;;
596 test -s g.E ||
rm -f g.E
597 cat $srcdir/h.I |
$xx -d '[:xdigit:]' > h.O
2> h.E
599 if test $code != 0; then
600 $echo "Test h(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
601 errors
=`expr $errors + 1`
603 cmp h.O
$srcdir/h.X
> /dev
/null
2>&1
605 0) if test "$VERBOSE"; then $echo "passed h(|)"; fi;;
606 1) $echo "Test h(|) failed: files h.O and $srcdir/h.X differ" 1>&2
607 (diff -c h.O
$srcdir/h.X
) 2> /dev
/null
608 errors
=`expr $errors + 1`;;
609 2) $echo "Test h(|) may have failed." 1>&2
610 $echo The
command "cmp h.O $srcdir/h.X" failed.
1>&2
611 errors
=`expr $errors + 1`;;
614 test -s h.E ||
rm -f h.E
615 $xx -d '[:xdigit:]' < $srcdir/h.I
> h.O
2> h.E
617 if test $code != 0; then
618 $echo "Test h(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
619 errors
=`expr $errors + 1`
621 cmp h.O
$srcdir/h.X
> /dev
/null
2>&1
623 0) if test "$VERBOSE"; then $echo "passed h(<)"; fi;;
624 1) $echo "Test h(<) failed: files h.O and $srcdir/h.X differ" 1>&2
625 (diff -c h.O
$srcdir/h.X
) 2> /dev
/null
626 errors
=`expr $errors + 1`;;
627 2) $echo "Test h(<) may have failed." 1>&2
628 $echo The
command "cmp h.O $srcdir/h.X" failed.
1>&2
629 errors
=`expr $errors + 1`;;
632 test -s h.E ||
rm -f h.E
633 cat $srcdir/i.I |
$xx -d '[:xdigit:]' > i.O
2> i.E
635 if test $code != 0; then
636 $echo "Test i(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
637 errors
=`expr $errors + 1`
639 cmp i.O
$srcdir/i.X
> /dev
/null
2>&1
641 0) if test "$VERBOSE"; then $echo "passed i(|)"; fi;;
642 1) $echo "Test i(|) failed: files i.O and $srcdir/i.X differ" 1>&2
643 (diff -c i.O
$srcdir/i.X
) 2> /dev
/null
644 errors
=`expr $errors + 1`;;
645 2) $echo "Test i(|) may have failed." 1>&2
646 $echo The
command "cmp i.O $srcdir/i.X" failed.
1>&2
647 errors
=`expr $errors + 1`;;
650 test -s i.E ||
rm -f i.E
651 $xx -d '[:xdigit:]' < $srcdir/i.I
> i.O
2> i.E
653 if test $code != 0; then
654 $echo "Test i(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
655 errors
=`expr $errors + 1`
657 cmp i.O
$srcdir/i.X
> /dev
/null
2>&1
659 0) if test "$VERBOSE"; then $echo "passed i(<)"; fi;;
660 1) $echo "Test i(<) failed: files i.O and $srcdir/i.X differ" 1>&2
661 (diff -c i.O
$srcdir/i.X
) 2> /dev
/null
662 errors
=`expr $errors + 1`;;
663 2) $echo "Test i(<) may have failed." 1>&2
664 $echo The
command "cmp i.O $srcdir/i.X" failed.
1>&2
665 errors
=`expr $errors + 1`;;
668 test -s i.E ||
rm -f i.E
669 cat $srcdir/j.I |
$xx -d '[:digit:]' > j.O
2> j.E
671 if test $code != 0; then
672 $echo "Test j(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
673 errors
=`expr $errors + 1`
675 cmp j.O
$srcdir/j.X
> /dev
/null
2>&1
677 0) if test "$VERBOSE"; then $echo "passed j(|)"; fi;;
678 1) $echo "Test j(|) failed: files j.O and $srcdir/j.X differ" 1>&2
679 (diff -c j.O
$srcdir/j.X
) 2> /dev
/null
680 errors
=`expr $errors + 1`;;
681 2) $echo "Test j(|) may have failed." 1>&2
682 $echo The
command "cmp j.O $srcdir/j.X" failed.
1>&2
683 errors
=`expr $errors + 1`;;
686 test -s j.E ||
rm -f j.E
687 $xx -d '[:digit:]' < $srcdir/j.I
> j.O
2> j.E
689 if test $code != 0; then
690 $echo "Test j(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
691 errors
=`expr $errors + 1`
693 cmp j.O
$srcdir/j.X
> /dev
/null
2>&1
695 0) if test "$VERBOSE"; then $echo "passed j(<)"; fi;;
696 1) $echo "Test j(<) failed: files j.O and $srcdir/j.X differ" 1>&2
697 (diff -c j.O
$srcdir/j.X
) 2> /dev
/null
698 errors
=`expr $errors + 1`;;
699 2) $echo "Test j(<) may have failed." 1>&2
700 $echo The
command "cmp j.O $srcdir/j.X" failed.
1>&2
701 errors
=`expr $errors + 1`;;
704 test -s j.E ||
rm -f j.E
705 cat $srcdir/k.I |
$xx -d '[:digit:]' > k.O
2> k.E
707 if test $code != 0; then
708 $echo "Test k(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
709 errors
=`expr $errors + 1`
711 cmp k.O
$srcdir/k.X
> /dev
/null
2>&1
713 0) if test "$VERBOSE"; then $echo "passed k(|)"; fi;;
714 1) $echo "Test k(|) failed: files k.O and $srcdir/k.X differ" 1>&2
715 (diff -c k.O
$srcdir/k.X
) 2> /dev
/null
716 errors
=`expr $errors + 1`;;
717 2) $echo "Test k(|) may have failed." 1>&2
718 $echo The
command "cmp k.O $srcdir/k.X" failed.
1>&2
719 errors
=`expr $errors + 1`;;
722 test -s k.E ||
rm -f k.E
723 $xx -d '[:digit:]' < $srcdir/k.I
> k.O
2> k.E
725 if test $code != 0; then
726 $echo "Test k(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
727 errors
=`expr $errors + 1`
729 cmp k.O
$srcdir/k.X
> /dev
/null
2>&1
731 0) if test "$VERBOSE"; then $echo "passed k(<)"; fi;;
732 1) $echo "Test k(<) failed: files k.O and $srcdir/k.X differ" 1>&2
733 (diff -c k.O
$srcdir/k.X
) 2> /dev
/null
734 errors
=`expr $errors + 1`;;
735 2) $echo "Test k(<) may have failed." 1>&2
736 $echo The
command "cmp k.O $srcdir/k.X" failed.
1>&2
737 errors
=`expr $errors + 1`;;
740 test -s k.E ||
rm -f k.E
741 cat $srcdir/l.I |
$xx -d '[:lower:]' > l.O
2> l.E
743 if test $code != 0; then
744 $echo "Test l(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
745 errors
=`expr $errors + 1`
747 cmp l.O
$srcdir/l.X
> /dev
/null
2>&1
749 0) if test "$VERBOSE"; then $echo "passed l(|)"; fi;;
750 1) $echo "Test l(|) failed: files l.O and $srcdir/l.X differ" 1>&2
751 (diff -c l.O
$srcdir/l.X
) 2> /dev
/null
752 errors
=`expr $errors + 1`;;
753 2) $echo "Test l(|) may have failed." 1>&2
754 $echo The
command "cmp l.O $srcdir/l.X" failed.
1>&2
755 errors
=`expr $errors + 1`;;
758 test -s l.E ||
rm -f l.E
759 $xx -d '[:lower:]' < $srcdir/l.I
> l.O
2> l.E
761 if test $code != 0; then
762 $echo "Test l(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
763 errors
=`expr $errors + 1`
765 cmp l.O
$srcdir/l.X
> /dev
/null
2>&1
767 0) if test "$VERBOSE"; then $echo "passed l(<)"; fi;;
768 1) $echo "Test l(<) failed: files l.O and $srcdir/l.X differ" 1>&2
769 (diff -c l.O
$srcdir/l.X
) 2> /dev
/null
770 errors
=`expr $errors + 1`;;
771 2) $echo "Test l(<) may have failed." 1>&2
772 $echo The
command "cmp l.O $srcdir/l.X" failed.
1>&2
773 errors
=`expr $errors + 1`;;
776 test -s l.E ||
rm -f l.E
777 cat $srcdir/m.I |
$xx -d '[:upper:]' > m.O
2> m.E
779 if test $code != 0; then
780 $echo "Test m(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
781 errors
=`expr $errors + 1`
783 cmp m.O
$srcdir/m.X
> /dev
/null
2>&1
785 0) if test "$VERBOSE"; then $echo "passed m(|)"; fi;;
786 1) $echo "Test m(|) failed: files m.O and $srcdir/m.X differ" 1>&2
787 (diff -c m.O
$srcdir/m.X
) 2> /dev
/null
788 errors
=`expr $errors + 1`;;
789 2) $echo "Test m(|) may have failed." 1>&2
790 $echo The
command "cmp m.O $srcdir/m.X" failed.
1>&2
791 errors
=`expr $errors + 1`;;
794 test -s m.E ||
rm -f m.E
795 $xx -d '[:upper:]' < $srcdir/m.I
> m.O
2> m.E
797 if test $code != 0; then
798 $echo "Test m(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
799 errors
=`expr $errors + 1`
801 cmp m.O
$srcdir/m.X
> /dev
/null
2>&1
803 0) if test "$VERBOSE"; then $echo "passed m(<)"; fi;;
804 1) $echo "Test m(<) failed: files m.O and $srcdir/m.X differ" 1>&2
805 (diff -c m.O
$srcdir/m.X
) 2> /dev
/null
806 errors
=`expr $errors + 1`;;
807 2) $echo "Test m(<) may have failed." 1>&2
808 $echo The
command "cmp m.O $srcdir/m.X" failed.
1>&2
809 errors
=`expr $errors + 1`;;
812 test -s m.E ||
rm -f m.E
813 cat $srcdir/n.I |
$xx -d '[:lower:][:upper:]' > n.O
2> n.E
815 if test $code != 0; then
816 $echo "Test n(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
817 errors
=`expr $errors + 1`
819 cmp n.O
$srcdir/n.X
> /dev
/null
2>&1
821 0) if test "$VERBOSE"; then $echo "passed n(|)"; fi;;
822 1) $echo "Test n(|) failed: files n.O and $srcdir/n.X differ" 1>&2
823 (diff -c n.O
$srcdir/n.X
) 2> /dev
/null
824 errors
=`expr $errors + 1`;;
825 2) $echo "Test n(|) may have failed." 1>&2
826 $echo The
command "cmp n.O $srcdir/n.X" failed.
1>&2
827 errors
=`expr $errors + 1`;;
830 test -s n.E ||
rm -f n.E
831 $xx -d '[:lower:][:upper:]' < $srcdir/n.I
> n.O
2> n.E
833 if test $code != 0; then
834 $echo "Test n(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
835 errors
=`expr $errors + 1`
837 cmp n.O
$srcdir/n.X
> /dev
/null
2>&1
839 0) if test "$VERBOSE"; then $echo "passed n(<)"; fi;;
840 1) $echo "Test n(<) failed: files n.O and $srcdir/n.X differ" 1>&2
841 (diff -c n.O
$srcdir/n.X
) 2> /dev
/null
842 errors
=`expr $errors + 1`;;
843 2) $echo "Test n(<) may have failed." 1>&2
844 $echo The
command "cmp n.O $srcdir/n.X" failed.
1>&2
845 errors
=`expr $errors + 1`;;
848 test -s n.E ||
rm -f n.E
849 cat $srcdir/o.I |
$xx -d '[:alpha:]' > o.O
2> o.E
851 if test $code != 0; then
852 $echo "Test o(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
853 errors
=`expr $errors + 1`
855 cmp o.O
$srcdir/o.X
> /dev
/null
2>&1
857 0) if test "$VERBOSE"; then $echo "passed o(|)"; fi;;
858 1) $echo "Test o(|) failed: files o.O and $srcdir/o.X differ" 1>&2
859 (diff -c o.O
$srcdir/o.X
) 2> /dev
/null
860 errors
=`expr $errors + 1`;;
861 2) $echo "Test o(|) may have failed." 1>&2
862 $echo The
command "cmp o.O $srcdir/o.X" failed.
1>&2
863 errors
=`expr $errors + 1`;;
866 test -s o.E ||
rm -f o.E
867 $xx -d '[:alpha:]' < $srcdir/o.I
> o.O
2> o.E
869 if test $code != 0; then
870 $echo "Test o(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
871 errors
=`expr $errors + 1`
873 cmp o.O
$srcdir/o.X
> /dev
/null
2>&1
875 0) if test "$VERBOSE"; then $echo "passed o(<)"; fi;;
876 1) $echo "Test o(<) failed: files o.O and $srcdir/o.X differ" 1>&2
877 (diff -c o.O
$srcdir/o.X
) 2> /dev
/null
878 errors
=`expr $errors + 1`;;
879 2) $echo "Test o(<) may have failed." 1>&2
880 $echo The
command "cmp o.O $srcdir/o.X" failed.
1>&2
881 errors
=`expr $errors + 1`;;
884 test -s o.E ||
rm -f o.E
885 cat $srcdir/p.I |
$xx -d '[:alnum:]' > p.O
2> p.E
887 if test $code != 0; then
888 $echo "Test p(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
889 errors
=`expr $errors + 1`
891 cmp p.O
$srcdir/p.X
> /dev
/null
2>&1
893 0) if test "$VERBOSE"; then $echo "passed p(|)"; fi;;
894 1) $echo "Test p(|) failed: files p.O and $srcdir/p.X differ" 1>&2
895 (diff -c p.O
$srcdir/p.X
) 2> /dev
/null
896 errors
=`expr $errors + 1`;;
897 2) $echo "Test p(|) may have failed." 1>&2
898 $echo The
command "cmp p.O $srcdir/p.X" failed.
1>&2
899 errors
=`expr $errors + 1`;;
902 test -s p.E ||
rm -f p.E
903 $xx -d '[:alnum:]' < $srcdir/p.I
> p.O
2> p.E
905 if test $code != 0; then
906 $echo "Test p(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
907 errors
=`expr $errors + 1`
909 cmp p.O
$srcdir/p.X
> /dev
/null
2>&1
911 0) if test "$VERBOSE"; then $echo "passed p(<)"; fi;;
912 1) $echo "Test p(<) failed: files p.O and $srcdir/p.X differ" 1>&2
913 (diff -c p.O
$srcdir/p.X
) 2> /dev
/null
914 errors
=`expr $errors + 1`;;
915 2) $echo "Test p(<) may have failed." 1>&2
916 $echo The
command "cmp p.O $srcdir/p.X" failed.
1>&2
917 errors
=`expr $errors + 1`;;
920 test -s p.E ||
rm -f p.E
921 cat $srcdir/q.I |
$xx -d '[:alnum:]' > q.O
2> q.E
923 if test $code != 0; then
924 $echo "Test q(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
925 errors
=`expr $errors + 1`
927 cmp q.O
$srcdir/q.X
> /dev
/null
2>&1
929 0) if test "$VERBOSE"; then $echo "passed q(|)"; fi;;
930 1) $echo "Test q(|) failed: files q.O and $srcdir/q.X differ" 1>&2
931 (diff -c q.O
$srcdir/q.X
) 2> /dev
/null
932 errors
=`expr $errors + 1`;;
933 2) $echo "Test q(|) may have failed." 1>&2
934 $echo The
command "cmp q.O $srcdir/q.X" failed.
1>&2
935 errors
=`expr $errors + 1`;;
938 test -s q.E ||
rm -f q.E
939 $xx -d '[:alnum:]' < $srcdir/q.I
> q.O
2> q.E
941 if test $code != 0; then
942 $echo "Test q(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
943 errors
=`expr $errors + 1`
945 cmp q.O
$srcdir/q.X
> /dev
/null
2>&1
947 0) if test "$VERBOSE"; then $echo "passed q(<)"; fi;;
948 1) $echo "Test q(<) failed: files q.O and $srcdir/q.X differ" 1>&2
949 (diff -c q.O
$srcdir/q.X
) 2> /dev
/null
950 errors
=`expr $errors + 1`;;
951 2) $echo "Test q(<) may have failed." 1>&2
952 $echo The
command "cmp q.O $srcdir/q.X" failed.
1>&2
953 errors
=`expr $errors + 1`;;
956 test -s q.E ||
rm -f q.E
957 cat $srcdir/r.I |
$xx -ds '[:alnum:]' '.' > r.O
2> r.E
959 if test $code != 0; then
960 $echo "Test r(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
961 errors
=`expr $errors + 1`
963 cmp r.O
$srcdir/r.X
> /dev
/null
2>&1
965 0) if test "$VERBOSE"; then $echo "passed r(|)"; fi;;
966 1) $echo "Test r(|) failed: files r.O and $srcdir/r.X differ" 1>&2
967 (diff -c r.O
$srcdir/r.X
) 2> /dev
/null
968 errors
=`expr $errors + 1`;;
969 2) $echo "Test r(|) may have failed." 1>&2
970 $echo The
command "cmp r.O $srcdir/r.X" failed.
1>&2
971 errors
=`expr $errors + 1`;;
974 test -s r.E ||
rm -f r.E
975 $xx -ds '[:alnum:]' '.' < $srcdir/r.I
> r.O
2> r.E
977 if test $code != 0; then
978 $echo "Test r(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
979 errors
=`expr $errors + 1`
981 cmp r.O
$srcdir/r.X
> /dev
/null
2>&1
983 0) if test "$VERBOSE"; then $echo "passed r(<)"; fi;;
984 1) $echo "Test r(<) failed: files r.O and $srcdir/r.X differ" 1>&2
985 (diff -c r.O
$srcdir/r.X
) 2> /dev
/null
986 errors
=`expr $errors + 1`;;
987 2) $echo "Test r(<) may have failed." 1>&2
988 $echo The
command "cmp r.O $srcdir/r.X" failed.
1>&2
989 errors
=`expr $errors + 1`;;
992 test -s r.E ||
rm -f r.E
993 cat $srcdir/s.I |
$xx -cs '[:alnum:]' '\n' > s.O
2> s.E
995 if test $code != 0; then
996 $echo "Test s(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
997 errors
=`expr $errors + 1`
999 cmp s.O
$srcdir/s.X
> /dev
/null
2>&1
1001 0) if test "$VERBOSE"; then $echo "passed s(|)"; fi;;
1002 1) $echo "Test s(|) failed: files s.O and $srcdir/s.X differ" 1>&2
1003 (diff -c s.O
$srcdir/s.X
) 2> /dev
/null
1004 errors
=`expr $errors + 1`;;
1005 2) $echo "Test s(|) may have failed." 1>&2
1006 $echo The
command "cmp s.O $srcdir/s.X" failed.
1>&2
1007 errors
=`expr $errors + 1`;;
1010 test -s s.E ||
rm -f s.E
1011 $xx -cs '[:alnum:]' '\n' < $srcdir/s.I
> s.O
2> s.E
1013 if test $code != 0; then
1014 $echo "Test s(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1015 errors
=`expr $errors + 1`
1017 cmp s.O
$srcdir/s.X
> /dev
/null
2>&1
1019 0) if test "$VERBOSE"; then $echo "passed s(<)"; fi;;
1020 1) $echo "Test s(<) failed: files s.O and $srcdir/s.X differ" 1>&2
1021 (diff -c s.O
$srcdir/s.X
) 2> /dev
/null
1022 errors
=`expr $errors + 1`;;
1023 2) $echo "Test s(<) may have failed." 1>&2
1024 $echo The
command "cmp s.O $srcdir/s.X" failed.
1>&2
1025 errors
=`expr $errors + 1`;;
1028 test -s s.E ||
rm -f s.E
1029 cat $srcdir/t.I |
$xx -cs '[:alnum:]' '[\n*]' > t.O
2> t.E
1031 if test $code != 0; then
1032 $echo "Test t(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1033 errors
=`expr $errors + 1`
1035 cmp t.O
$srcdir/t.X
> /dev
/null
2>&1
1037 0) if test "$VERBOSE"; then $echo "passed t(|)"; fi;;
1038 1) $echo "Test t(|) failed: files t.O and $srcdir/t.X differ" 1>&2
1039 (diff -c t.O
$srcdir/t.X
) 2> /dev
/null
1040 errors
=`expr $errors + 1`;;
1041 2) $echo "Test t(|) may have failed." 1>&2
1042 $echo The
command "cmp t.O $srcdir/t.X" failed.
1>&2
1043 errors
=`expr $errors + 1`;;
1046 test -s t.E ||
rm -f t.E
1047 $xx -cs '[:alnum:]' '[\n*]' < $srcdir/t.I
> t.O
2> t.E
1049 if test $code != 0; then
1050 $echo "Test t(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1051 errors
=`expr $errors + 1`
1053 cmp t.O
$srcdir/t.X
> /dev
/null
2>&1
1055 0) if test "$VERBOSE"; then $echo "passed t(<)"; fi;;
1056 1) $echo "Test t(<) failed: files t.O and $srcdir/t.X differ" 1>&2
1057 (diff -c t.O
$srcdir/t.X
) 2> /dev
/null
1058 errors
=`expr $errors + 1`;;
1059 2) $echo "Test t(<) may have failed." 1>&2
1060 $echo The
command "cmp t.O $srcdir/t.X" failed.
1>&2
1061 errors
=`expr $errors + 1`;;
1064 test -s t.E ||
rm -f t.E
1065 cat $srcdir/u.I |
$xx -ds 'b' 'a' > u.O
2> u.E
1067 if test $code != 0; then
1068 $echo "Test u(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1069 errors
=`expr $errors + 1`
1071 cmp u.O
$srcdir/u.X
> /dev
/null
2>&1
1073 0) if test "$VERBOSE"; then $echo "passed u(|)"; fi;;
1074 1) $echo "Test u(|) failed: files u.O and $srcdir/u.X differ" 1>&2
1075 (diff -c u.O
$srcdir/u.X
) 2> /dev
/null
1076 errors
=`expr $errors + 1`;;
1077 2) $echo "Test u(|) may have failed." 1>&2
1078 $echo The
command "cmp u.O $srcdir/u.X" failed.
1>&2
1079 errors
=`expr $errors + 1`;;
1082 test -s u.E ||
rm -f u.E
1083 $xx -ds 'b' 'a' < $srcdir/u.I
> u.O
2> u.E
1085 if test $code != 0; then
1086 $echo "Test u(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1087 errors
=`expr $errors + 1`
1089 cmp u.O
$srcdir/u.X
> /dev
/null
2>&1
1091 0) if test "$VERBOSE"; then $echo "passed u(<)"; fi;;
1092 1) $echo "Test u(<) failed: files u.O and $srcdir/u.X differ" 1>&2
1093 (diff -c u.O
$srcdir/u.X
) 2> /dev
/null
1094 errors
=`expr $errors + 1`;;
1095 2) $echo "Test u(<) may have failed." 1>&2
1096 $echo The
command "cmp u.O $srcdir/u.X" failed.
1>&2
1097 errors
=`expr $errors + 1`;;
1100 test -s u.E ||
rm -f u.E
1101 cat $srcdir/v.I |
$xx -ds '[:xdigit:]' 'Z' > v.O
2> v.E
1103 if test $code != 0; then
1104 $echo "Test v(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1105 errors
=`expr $errors + 1`
1107 cmp v.O
$srcdir/v.X
> /dev
/null
2>&1
1109 0) if test "$VERBOSE"; then $echo "passed v(|)"; fi;;
1110 1) $echo "Test v(|) failed: files v.O and $srcdir/v.X differ" 1>&2
1111 (diff -c v.O
$srcdir/v.X
) 2> /dev
/null
1112 errors
=`expr $errors + 1`;;
1113 2) $echo "Test v(|) may have failed." 1>&2
1114 $echo The
command "cmp v.O $srcdir/v.X" failed.
1>&2
1115 errors
=`expr $errors + 1`;;
1118 test -s v.E ||
rm -f v.E
1119 $xx -ds '[:xdigit:]' 'Z' < $srcdir/v.I
> v.O
2> v.E
1121 if test $code != 0; then
1122 $echo "Test v(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1123 errors
=`expr $errors + 1`
1125 cmp v.O
$srcdir/v.X
> /dev
/null
2>&1
1127 0) if test "$VERBOSE"; then $echo "passed v(<)"; fi;;
1128 1) $echo "Test v(<) failed: files v.O and $srcdir/v.X differ" 1>&2
1129 (diff -c v.O
$srcdir/v.X
) 2> /dev
/null
1130 errors
=`expr $errors + 1`;;
1131 2) $echo "Test v(<) may have failed." 1>&2
1132 $echo The
command "cmp v.O $srcdir/v.X" failed.
1>&2
1133 errors
=`expr $errors + 1`;;
1136 test -s v.E ||
rm -f v.E
1137 cat $srcdir/w.I |
$xx -ds '\350' '\345' > w.O
2> w.E
1139 if test $code != 0; then
1140 $echo "Test w(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1141 errors
=`expr $errors + 1`
1143 cmp w.O
$srcdir/w.X
> /dev
/null
2>&1
1145 0) if test "$VERBOSE"; then $echo "passed w(|)"; fi;;
1146 1) $echo "Test w(|) failed: files w.O and $srcdir/w.X differ" 1>&2
1147 (diff -c w.O
$srcdir/w.X
) 2> /dev
/null
1148 errors
=`expr $errors + 1`;;
1149 2) $echo "Test w(|) may have failed." 1>&2
1150 $echo The
command "cmp w.O $srcdir/w.X" failed.
1>&2
1151 errors
=`expr $errors + 1`;;
1154 test -s w.E ||
rm -f w.E
1155 $xx -ds '\350' '\345' < $srcdir/w.I
> w.O
2> w.E
1157 if test $code != 0; then
1158 $echo "Test w(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1159 errors
=`expr $errors + 1`
1161 cmp w.O
$srcdir/w.X
> /dev
/null
2>&1
1163 0) if test "$VERBOSE"; then $echo "passed w(<)"; fi;;
1164 1) $echo "Test w(<) failed: files w.O and $srcdir/w.X differ" 1>&2
1165 (diff -c w.O
$srcdir/w.X
) 2> /dev
/null
1166 errors
=`expr $errors + 1`;;
1167 2) $echo "Test w(<) may have failed." 1>&2
1168 $echo The
command "cmp w.O $srcdir/w.X" failed.
1>&2
1169 errors
=`expr $errors + 1`;;
1172 test -s w.E ||
rm -f w.E
1173 cat $srcdir/x.I |
$xx -s 'abcdefghijklmn' '[:*016]' > x.O
2> x.E
1175 if test $code != 0; then
1176 $echo "Test x(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1177 errors
=`expr $errors + 1`
1179 cmp x.O
$srcdir/x.X
> /dev
/null
2>&1
1181 0) if test "$VERBOSE"; then $echo "passed x(|)"; fi;;
1182 1) $echo "Test x(|) failed: files x.O and $srcdir/x.X differ" 1>&2
1183 (diff -c x.O
$srcdir/x.X
) 2> /dev
/null
1184 errors
=`expr $errors + 1`;;
1185 2) $echo "Test x(|) may have failed." 1>&2
1186 $echo The
command "cmp x.O $srcdir/x.X" failed.
1>&2
1187 errors
=`expr $errors + 1`;;
1190 test -s x.E ||
rm -f x.E
1191 $xx -s 'abcdefghijklmn' '[:*016]' < $srcdir/x.I
> x.O
2> x.E
1193 if test $code != 0; then
1194 $echo "Test x(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1195 errors
=`expr $errors + 1`
1197 cmp x.O
$srcdir/x.X
> /dev
/null
2>&1
1199 0) if test "$VERBOSE"; then $echo "passed x(<)"; fi;;
1200 1) $echo "Test x(<) failed: files x.O and $srcdir/x.X differ" 1>&2
1201 (diff -c x.O
$srcdir/x.X
) 2> /dev
/null
1202 errors
=`expr $errors + 1`;;
1203 2) $echo "Test x(<) may have failed." 1>&2
1204 $echo The
command "cmp x.O $srcdir/x.X" failed.
1>&2
1205 errors
=`expr $errors + 1`;;
1208 test -s x.E ||
rm -f x.E
1209 cat $srcdir/y.I |
$xx -d 'a-z' > y.O
2> y.E
1211 if test $code != 0; then
1212 $echo "Test y(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1213 errors
=`expr $errors + 1`
1215 cmp y.O
$srcdir/y.X
> /dev
/null
2>&1
1217 0) if test "$VERBOSE"; then $echo "passed y(|)"; fi;;
1218 1) $echo "Test y(|) failed: files y.O and $srcdir/y.X differ" 1>&2
1219 (diff -c y.O
$srcdir/y.X
) 2> /dev
/null
1220 errors
=`expr $errors + 1`;;
1221 2) $echo "Test y(|) may have failed." 1>&2
1222 $echo The
command "cmp y.O $srcdir/y.X" failed.
1>&2
1223 errors
=`expr $errors + 1`;;
1226 test -s y.E ||
rm -f y.E
1227 $xx -d 'a-z' < $srcdir/y.I
> y.O
2> y.E
1229 if test $code != 0; then
1230 $echo "Test y(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1231 errors
=`expr $errors + 1`
1233 cmp y.O
$srcdir/y.X
> /dev
/null
2>&1
1235 0) if test "$VERBOSE"; then $echo "passed y(<)"; fi;;
1236 1) $echo "Test y(<) failed: files y.O and $srcdir/y.X differ" 1>&2
1237 (diff -c y.O
$srcdir/y.X
) 2> /dev
/null
1238 errors
=`expr $errors + 1`;;
1239 2) $echo "Test y(<) may have failed." 1>&2
1240 $echo The
command "cmp y.O $srcdir/y.X" failed.
1>&2
1241 errors
=`expr $errors + 1`;;
1244 test -s y.E ||
rm -f y.E
1245 cat $srcdir/z.I |
$xx -ds 'a-z' '$.' > z.O
2> z.E
1247 if test $code != 0; then
1248 $echo "Test z(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1249 errors
=`expr $errors + 1`
1251 cmp z.O
$srcdir/z.X
> /dev
/null
2>&1
1253 0) if test "$VERBOSE"; then $echo "passed z(|)"; fi;;
1254 1) $echo "Test z(|) failed: files z.O and $srcdir/z.X differ" 1>&2
1255 (diff -c z.O
$srcdir/z.X
) 2> /dev
/null
1256 errors
=`expr $errors + 1`;;
1257 2) $echo "Test z(|) may have failed." 1>&2
1258 $echo The
command "cmp z.O $srcdir/z.X" failed.
1>&2
1259 errors
=`expr $errors + 1`;;
1262 test -s z.E ||
rm -f z.E
1263 $xx -ds 'a-z' '$.' < $srcdir/z.I
> z.O
2> z.E
1265 if test $code != 0; then
1266 $echo "Test z(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1267 errors
=`expr $errors + 1`
1269 cmp z.O
$srcdir/z.X
> /dev
/null
2>&1
1271 0) if test "$VERBOSE"; then $echo "passed z(<)"; fi;;
1272 1) $echo "Test z(<) failed: files z.O and $srcdir/z.X differ" 1>&2
1273 (diff -c z.O
$srcdir/z.X
) 2> /dev
/null
1274 errors
=`expr $errors + 1`;;
1275 2) $echo "Test z(<) may have failed." 1>&2
1276 $echo The
command "cmp z.O $srcdir/z.X" failed.
1>&2
1277 errors
=`expr $errors + 1`;;
1280 test -s z.E ||
rm -f z.E
1281 cat $srcdir/range-a-a.I |
$xx 'a-a' 'z' > range-a-a.O
2> range-a-a.E
1283 if test $code != 0; then
1284 $echo "Test range-a-a(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1285 errors
=`expr $errors + 1`
1287 cmp range-a-a.O
$srcdir/range-a-a.X
> /dev
/null
2>&1
1289 0) if test "$VERBOSE"; then $echo "passed range-a-a(|)"; fi;;
1290 1) $echo "Test range-a-a(|) failed: files range-a-a.O and $srcdir/range-a-a.X differ" 1>&2
1291 (diff -c range-a-a.O
$srcdir/range-a-a.X
) 2> /dev
/null
1292 errors
=`expr $errors + 1`;;
1293 2) $echo "Test range-a-a(|) may have failed." 1>&2
1294 $echo The
command "cmp range-a-a.O $srcdir/range-a-a.X" failed.
1>&2
1295 errors
=`expr $errors + 1`;;
1298 test -s range-a-a.E ||
rm -f range-a-a.E
1299 $xx 'a-a' 'z' < $srcdir/range-a-a.I
> range-a-a.O
2> range-a-a.E
1301 if test $code != 0; then
1302 $echo "Test range-a-a(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1303 errors
=`expr $errors + 1`
1305 cmp range-a-a.O
$srcdir/range-a-a.X
> /dev
/null
2>&1
1307 0) if test "$VERBOSE"; then $echo "passed range-a-a(<)"; fi;;
1308 1) $echo "Test range-a-a(<) failed: files range-a-a.O and $srcdir/range-a-a.X differ" 1>&2
1309 (diff -c range-a-a.O
$srcdir/range-a-a.X
) 2> /dev
/null
1310 errors
=`expr $errors + 1`;;
1311 2) $echo "Test range-a-a(<) may have failed." 1>&2
1312 $echo The
command "cmp range-a-a.O $srcdir/range-a-a.X" failed.
1>&2
1313 errors
=`expr $errors + 1`;;
1316 test -s range-a-a.E ||
rm -f range-a-a.E
1317 cat $srcdir/null.I |
$xx 'a' '''' > null.O
2> null.E
1319 if test $code != 1; then
1320 $echo "Test null(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1321 errors
=`expr $errors + 1`
1323 cmp null.O
$srcdir/null.X
> /dev
/null
2>&1
1325 0) if test "$VERBOSE"; then $echo "passed null(|)"; fi;;
1326 1) $echo "Test null(|) failed: files null.O and $srcdir/null.X differ" 1>&2
1327 (diff -c null.O
$srcdir/null.X
) 2> /dev
/null
1328 errors
=`expr $errors + 1`;;
1329 2) $echo "Test null(|) may have failed." 1>&2
1330 $echo The
command "cmp null.O $srcdir/null.X" failed.
1>&2
1331 errors
=`expr $errors + 1`;;
1334 test -s null.E ||
rm -f null.E
1335 $xx 'a' '''' < $srcdir/null.I
> null.O
2> null.E
1337 if test $code != 1; then
1338 $echo "Test null(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1339 errors
=`expr $errors + 1`
1341 cmp null.O
$srcdir/null.X
> /dev
/null
2>&1
1343 0) if test "$VERBOSE"; then $echo "passed null(<)"; fi;;
1344 1) $echo "Test null(<) failed: files null.O and $srcdir/null.X differ" 1>&2
1345 (diff -c null.O
$srcdir/null.X
) 2> /dev
/null
1346 errors
=`expr $errors + 1`;;
1347 2) $echo "Test null(<) may have failed." 1>&2
1348 $echo The
command "cmp null.O $srcdir/null.X" failed.
1>&2
1349 errors
=`expr $errors + 1`;;
1352 test -s null.E ||
rm -f null.E
1353 cat $srcdir/upcase.I |
$xx '[:lower:]' '[:upper:]' > upcase.O
2> upcase.E
1355 if test $code != 0; then
1356 $echo "Test upcase(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1357 errors
=`expr $errors + 1`
1359 cmp upcase.O
$srcdir/upcase.X
> /dev
/null
2>&1
1361 0) if test "$VERBOSE"; then $echo "passed upcase(|)"; fi;;
1362 1) $echo "Test upcase(|) failed: files upcase.O and $srcdir/upcase.X differ" 1>&2
1363 (diff -c upcase.O
$srcdir/upcase.X
) 2> /dev
/null
1364 errors
=`expr $errors + 1`;;
1365 2) $echo "Test upcase(|) may have failed." 1>&2
1366 $echo The
command "cmp upcase.O $srcdir/upcase.X" failed.
1>&2
1367 errors
=`expr $errors + 1`;;
1370 test -s upcase.E ||
rm -f upcase.E
1371 $xx '[:lower:]' '[:upper:]' < $srcdir/upcase.I
> upcase.O
2> upcase.E
1373 if test $code != 0; then
1374 $echo "Test upcase(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1375 errors
=`expr $errors + 1`
1377 cmp upcase.O
$srcdir/upcase.X
> /dev
/null
2>&1
1379 0) if test "$VERBOSE"; then $echo "passed upcase(<)"; fi;;
1380 1) $echo "Test upcase(<) failed: files upcase.O and $srcdir/upcase.X differ" 1>&2
1381 (diff -c upcase.O
$srcdir/upcase.X
) 2> /dev
/null
1382 errors
=`expr $errors + 1`;;
1383 2) $echo "Test upcase(<) may have failed." 1>&2
1384 $echo The
command "cmp upcase.O $srcdir/upcase.X" failed.
1>&2
1385 errors
=`expr $errors + 1`;;
1388 test -s upcase.E ||
rm -f upcase.E
1389 cat $srcdir/dncase.I |
$xx '[:upper:]' '[:lower:]' > dncase.O
2> dncase.E
1391 if test $code != 0; then
1392 $echo "Test dncase(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1393 errors
=`expr $errors + 1`
1395 cmp dncase.O
$srcdir/dncase.X
> /dev
/null
2>&1
1397 0) if test "$VERBOSE"; then $echo "passed dncase(|)"; fi;;
1398 1) $echo "Test dncase(|) failed: files dncase.O and $srcdir/dncase.X differ" 1>&2
1399 (diff -c dncase.O
$srcdir/dncase.X
) 2> /dev
/null
1400 errors
=`expr $errors + 1`;;
1401 2) $echo "Test dncase(|) may have failed." 1>&2
1402 $echo The
command "cmp dncase.O $srcdir/dncase.X" failed.
1>&2
1403 errors
=`expr $errors + 1`;;
1406 test -s dncase.E ||
rm -f dncase.E
1407 $xx '[:upper:]' '[:lower:]' < $srcdir/dncase.I
> dncase.O
2> dncase.E
1409 if test $code != 0; then
1410 $echo "Test dncase(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1411 errors
=`expr $errors + 1`
1413 cmp dncase.O
$srcdir/dncase.X
> /dev
/null
2>&1
1415 0) if test "$VERBOSE"; then $echo "passed dncase(<)"; fi;;
1416 1) $echo "Test dncase(<) failed: files dncase.O and $srcdir/dncase.X differ" 1>&2
1417 (diff -c dncase.O
$srcdir/dncase.X
) 2> /dev
/null
1418 errors
=`expr $errors + 1`;;
1419 2) $echo "Test dncase(<) may have failed." 1>&2
1420 $echo The
command "cmp dncase.O $srcdir/dncase.X" failed.
1>&2
1421 errors
=`expr $errors + 1`;;
1424 test -s dncase.E ||
rm -f dncase.E
1425 cat $srcdir/rep-cclass.I |
$xx 'a[=*2][=c=]' 'xyyz' > rep-cclass.O
2> rep-cclass.E
1427 if test $code != 0; then
1428 $echo "Test rep-cclass(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1429 errors
=`expr $errors + 1`
1431 cmp rep-cclass.O
$srcdir/rep-cclass.X
> /dev
/null
2>&1
1433 0) if test "$VERBOSE"; then $echo "passed rep-cclass(|)"; fi;;
1434 1) $echo "Test rep-cclass(|) failed: files rep-cclass.O and $srcdir/rep-cclass.X differ" 1>&2
1435 (diff -c rep-cclass.O
$srcdir/rep-cclass.X
) 2> /dev
/null
1436 errors
=`expr $errors + 1`;;
1437 2) $echo "Test rep-cclass(|) may have failed." 1>&2
1438 $echo The
command "cmp rep-cclass.O $srcdir/rep-cclass.X" failed.
1>&2
1439 errors
=`expr $errors + 1`;;
1442 test -s rep-cclass.E ||
rm -f rep-cclass.E
1443 $xx 'a[=*2][=c=]' 'xyyz' < $srcdir/rep-cclass.I
> rep-cclass.O
2> rep-cclass.E
1445 if test $code != 0; then
1446 $echo "Test rep-cclass(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1447 errors
=`expr $errors + 1`
1449 cmp rep-cclass.O
$srcdir/rep-cclass.X
> /dev
/null
2>&1
1451 0) if test "$VERBOSE"; then $echo "passed rep-cclass(<)"; fi;;
1452 1) $echo "Test rep-cclass(<) failed: files rep-cclass.O and $srcdir/rep-cclass.X differ" 1>&2
1453 (diff -c rep-cclass.O
$srcdir/rep-cclass.X
) 2> /dev
/null
1454 errors
=`expr $errors + 1`;;
1455 2) $echo "Test rep-cclass(<) may have failed." 1>&2
1456 $echo The
command "cmp rep-cclass.O $srcdir/rep-cclass.X" failed.
1>&2
1457 errors
=`expr $errors + 1`;;
1460 test -s rep-cclass.E ||
rm -f rep-cclass.E
1461 cat $srcdir/rep-1.I |
$xx '[:*3][:digit:]' 'a-m' > rep-1.O
2> rep-1.E
1463 if test $code != 0; then
1464 $echo "Test rep-1(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1465 errors
=`expr $errors + 1`
1467 cmp rep-1.O
$srcdir/rep-1.X
> /dev
/null
2>&1
1469 0) if test "$VERBOSE"; then $echo "passed rep-1(|)"; fi;;
1470 1) $echo "Test rep-1(|) failed: files rep-1.O and $srcdir/rep-1.X differ" 1>&2
1471 (diff -c rep-1.O
$srcdir/rep-1.X
) 2> /dev
/null
1472 errors
=`expr $errors + 1`;;
1473 2) $echo "Test rep-1(|) may have failed." 1>&2
1474 $echo The
command "cmp rep-1.O $srcdir/rep-1.X" failed.
1>&2
1475 errors
=`expr $errors + 1`;;
1478 test -s rep-1.E ||
rm -f rep-1.E
1479 $xx '[:*3][:digit:]' 'a-m' < $srcdir/rep-1.I
> rep-1.O
2> rep-1.E
1481 if test $code != 0; then
1482 $echo "Test rep-1(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1483 errors
=`expr $errors + 1`
1485 cmp rep-1.O
$srcdir/rep-1.X
> /dev
/null
2>&1
1487 0) if test "$VERBOSE"; then $echo "passed rep-1(<)"; fi;;
1488 1) $echo "Test rep-1(<) failed: files rep-1.O and $srcdir/rep-1.X differ" 1>&2
1489 (diff -c rep-1.O
$srcdir/rep-1.X
) 2> /dev
/null
1490 errors
=`expr $errors + 1`;;
1491 2) $echo "Test rep-1(<) may have failed." 1>&2
1492 $echo The
command "cmp rep-1.O $srcdir/rep-1.X" failed.
1>&2
1493 errors
=`expr $errors + 1`;;
1496 test -s rep-1.E ||
rm -f rep-1.E
1497 cat $srcdir/rep-2.I |
$xx 'a[b*512]c' '1[x*]2' > rep-2.O
2> rep-2.E
1499 if test $code != 0; then
1500 $echo "Test rep-2(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1501 errors
=`expr $errors + 1`
1503 cmp rep-2.O
$srcdir/rep-2.X
> /dev
/null
2>&1
1505 0) if test "$VERBOSE"; then $echo "passed rep-2(|)"; fi;;
1506 1) $echo "Test rep-2(|) failed: files rep-2.O and $srcdir/rep-2.X differ" 1>&2
1507 (diff -c rep-2.O
$srcdir/rep-2.X
) 2> /dev
/null
1508 errors
=`expr $errors + 1`;;
1509 2) $echo "Test rep-2(|) may have failed." 1>&2
1510 $echo The
command "cmp rep-2.O $srcdir/rep-2.X" failed.
1>&2
1511 errors
=`expr $errors + 1`;;
1514 test -s rep-2.E ||
rm -f rep-2.E
1515 $xx 'a[b*512]c' '1[x*]2' < $srcdir/rep-2.I
> rep-2.O
2> rep-2.E
1517 if test $code != 0; then
1518 $echo "Test rep-2(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1519 errors
=`expr $errors + 1`
1521 cmp rep-2.O
$srcdir/rep-2.X
> /dev
/null
2>&1
1523 0) if test "$VERBOSE"; then $echo "passed rep-2(<)"; fi;;
1524 1) $echo "Test rep-2(<) failed: files rep-2.O and $srcdir/rep-2.X differ" 1>&2
1525 (diff -c rep-2.O
$srcdir/rep-2.X
) 2> /dev
/null
1526 errors
=`expr $errors + 1`;;
1527 2) $echo "Test rep-2(<) may have failed." 1>&2
1528 $echo The
command "cmp rep-2.O $srcdir/rep-2.X" failed.
1>&2
1529 errors
=`expr $errors + 1`;;
1532 test -s rep-2.E ||
rm -f rep-2.E
1533 cat $srcdir/rep-3.I |
$xx 'a[b*513]c' '1[x*]2' > rep-3.O
2> rep-3.E
1535 if test $code != 0; then
1536 $echo "Test rep-3(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1537 errors
=`expr $errors + 1`
1539 cmp rep-3.O
$srcdir/rep-3.X
> /dev
/null
2>&1
1541 0) if test "$VERBOSE"; then $echo "passed rep-3(|)"; fi;;
1542 1) $echo "Test rep-3(|) failed: files rep-3.O and $srcdir/rep-3.X differ" 1>&2
1543 (diff -c rep-3.O
$srcdir/rep-3.X
) 2> /dev
/null
1544 errors
=`expr $errors + 1`;;
1545 2) $echo "Test rep-3(|) may have failed." 1>&2
1546 $echo The
command "cmp rep-3.O $srcdir/rep-3.X" failed.
1>&2
1547 errors
=`expr $errors + 1`;;
1550 test -s rep-3.E ||
rm -f rep-3.E
1551 $xx 'a[b*513]c' '1[x*]2' < $srcdir/rep-3.I
> rep-3.O
2> rep-3.E
1553 if test $code != 0; then
1554 $echo "Test rep-3(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1555 errors
=`expr $errors + 1`
1557 cmp rep-3.O
$srcdir/rep-3.X
> /dev
/null
2>&1
1559 0) if test "$VERBOSE"; then $echo "passed rep-3(<)"; fi;;
1560 1) $echo "Test rep-3(<) failed: files rep-3.O and $srcdir/rep-3.X differ" 1>&2
1561 (diff -c rep-3.O
$srcdir/rep-3.X
) 2> /dev
/null
1562 errors
=`expr $errors + 1`;;
1563 2) $echo "Test rep-3(<) may have failed." 1>&2
1564 $echo The
command "cmp rep-3.O $srcdir/rep-3.X" failed.
1>&2
1565 errors
=`expr $errors + 1`;;
1568 test -s rep-3.E ||
rm -f rep-3.E
1569 cat $srcdir/o-rep-1.I |
$xx '[b*08]' '[x*]' > o-rep-1.O
2> o-rep-1.E
1571 if test $code != 1; then
1572 $echo "Test o-rep-1(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1573 errors
=`expr $errors + 1`
1575 cmp o-rep-1.O
$srcdir/o-rep-1.X
> /dev
/null
2>&1
1577 0) if test "$VERBOSE"; then $echo "passed o-rep-1(|)"; fi;;
1578 1) $echo "Test o-rep-1(|) failed: files o-rep-1.O and $srcdir/o-rep-1.X differ" 1>&2
1579 (diff -c o-rep-1.O
$srcdir/o-rep-1.X
) 2> /dev
/null
1580 errors
=`expr $errors + 1`;;
1581 2) $echo "Test o-rep-1(|) may have failed." 1>&2
1582 $echo The
command "cmp o-rep-1.O $srcdir/o-rep-1.X" failed.
1>&2
1583 errors
=`expr $errors + 1`;;
1586 test -s o-rep-1.E ||
rm -f o-rep-1.E
1587 $xx '[b*08]' '[x*]' < $srcdir/o-rep-1.I
> o-rep-1.O
2> o-rep-1.E
1589 if test $code != 1; then
1590 $echo "Test o-rep-1(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1591 errors
=`expr $errors + 1`
1593 cmp o-rep-1.O
$srcdir/o-rep-1.X
> /dev
/null
2>&1
1595 0) if test "$VERBOSE"; then $echo "passed o-rep-1(<)"; fi;;
1596 1) $echo "Test o-rep-1(<) failed: files o-rep-1.O and $srcdir/o-rep-1.X differ" 1>&2
1597 (diff -c o-rep-1.O
$srcdir/o-rep-1.X
) 2> /dev
/null
1598 errors
=`expr $errors + 1`;;
1599 2) $echo "Test o-rep-1(<) may have failed." 1>&2
1600 $echo The
command "cmp o-rep-1.O $srcdir/o-rep-1.X" failed.
1>&2
1601 errors
=`expr $errors + 1`;;
1604 test -s o-rep-1.E ||
rm -f o-rep-1.E
1605 cat $srcdir/o-rep-2.I |
$xx '[b*010]cd' '[a*7]BC[x*]' > o-rep-2.O
2> o-rep-2.E
1607 if test $code != 0; then
1608 $echo "Test o-rep-2(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1609 errors
=`expr $errors + 1`
1611 cmp o-rep-2.O
$srcdir/o-rep-2.X
> /dev
/null
2>&1
1613 0) if test "$VERBOSE"; then $echo "passed o-rep-2(|)"; fi;;
1614 1) $echo "Test o-rep-2(|) failed: files o-rep-2.O and $srcdir/o-rep-2.X differ" 1>&2
1615 (diff -c o-rep-2.O
$srcdir/o-rep-2.X
) 2> /dev
/null
1616 errors
=`expr $errors + 1`;;
1617 2) $echo "Test o-rep-2(|) may have failed." 1>&2
1618 $echo The
command "cmp o-rep-2.O $srcdir/o-rep-2.X" failed.
1>&2
1619 errors
=`expr $errors + 1`;;
1622 test -s o-rep-2.E ||
rm -f o-rep-2.E
1623 $xx '[b*010]cd' '[a*7]BC[x*]' < $srcdir/o-rep-2.I
> o-rep-2.O
2> o-rep-2.E
1625 if test $code != 0; then
1626 $echo "Test o-rep-2(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1627 errors
=`expr $errors + 1`
1629 cmp o-rep-2.O
$srcdir/o-rep-2.X
> /dev
/null
2>&1
1631 0) if test "$VERBOSE"; then $echo "passed o-rep-2(<)"; fi;;
1632 1) $echo "Test o-rep-2(<) failed: files o-rep-2.O and $srcdir/o-rep-2.X differ" 1>&2
1633 (diff -c o-rep-2.O
$srcdir/o-rep-2.X
) 2> /dev
/null
1634 errors
=`expr $errors + 1`;;
1635 2) $echo "Test o-rep-2(<) may have failed." 1>&2
1636 $echo The
command "cmp o-rep-2.O $srcdir/o-rep-2.X" failed.
1>&2
1637 errors
=`expr $errors + 1`;;
1640 test -s o-rep-2.E ||
rm -f o-rep-2.E
1641 cat $srcdir/esc.I |
$xx 'a\-z' 'A-Z' > esc.O
2> esc.E
1643 if test $code != 0; then
1644 $echo "Test esc(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1645 errors
=`expr $errors + 1`
1647 cmp esc.O
$srcdir/esc.X
> /dev
/null
2>&1
1649 0) if test "$VERBOSE"; then $echo "passed esc(|)"; fi;;
1650 1) $echo "Test esc(|) failed: files esc.O and $srcdir/esc.X differ" 1>&2
1651 (diff -c esc.O
$srcdir/esc.X
) 2> /dev
/null
1652 errors
=`expr $errors + 1`;;
1653 2) $echo "Test esc(|) may have failed." 1>&2
1654 $echo The
command "cmp esc.O $srcdir/esc.X" failed.
1>&2
1655 errors
=`expr $errors + 1`;;
1658 test -s esc.E ||
rm -f esc.E
1659 $xx 'a\-z' 'A-Z' < $srcdir/esc.I
> esc.O
2> esc.E
1661 if test $code != 0; then
1662 $echo "Test esc(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1663 errors
=`expr $errors + 1`
1665 cmp esc.O
$srcdir/esc.X
> /dev
/null
2>&1
1667 0) if test "$VERBOSE"; then $echo "passed esc(<)"; fi;;
1668 1) $echo "Test esc(<) failed: files esc.O and $srcdir/esc.X differ" 1>&2
1669 (diff -c esc.O
$srcdir/esc.X
) 2> /dev
/null
1670 errors
=`expr $errors + 1`;;
1671 2) $echo "Test esc(<) may have failed." 1>&2
1672 $echo The
command "cmp esc.O $srcdir/esc.X" failed.
1>&2
1673 errors
=`expr $errors + 1`;;
1676 test -s esc.E ||
rm -f esc.E
1677 cat $srcdir/ross-0a.I |
$xx -cs '[:upper:]' 'X[Y*]' > ross-0a.O
2> ross-0a.E
1679 if test $code != 1; then
1680 $echo "Test ross-0a(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1681 errors
=`expr $errors + 1`
1683 cmp ross-0a.O
$srcdir/ross-0a.X
> /dev
/null
2>&1
1685 0) if test "$VERBOSE"; then $echo "passed ross-0a(|)"; fi;;
1686 1) $echo "Test ross-0a(|) failed: files ross-0a.O and $srcdir/ross-0a.X differ" 1>&2
1687 (diff -c ross-0a.O
$srcdir/ross-0a.X
) 2> /dev
/null
1688 errors
=`expr $errors + 1`;;
1689 2) $echo "Test ross-0a(|) may have failed." 1>&2
1690 $echo The
command "cmp ross-0a.O $srcdir/ross-0a.X" failed.
1>&2
1691 errors
=`expr $errors + 1`;;
1694 test -s ross-0a.E ||
rm -f ross-0a.E
1695 $xx -cs '[:upper:]' 'X[Y*]' < $srcdir/ross-0a.I
> ross-0a.O
2> ross-0a.E
1697 if test $code != 1; then
1698 $echo "Test ross-0a(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1699 errors
=`expr $errors + 1`
1701 cmp ross-0a.O
$srcdir/ross-0a.X
> /dev
/null
2>&1
1703 0) if test "$VERBOSE"; then $echo "passed ross-0a(<)"; fi;;
1704 1) $echo "Test ross-0a(<) failed: files ross-0a.O and $srcdir/ross-0a.X differ" 1>&2
1705 (diff -c ross-0a.O
$srcdir/ross-0a.X
) 2> /dev
/null
1706 errors
=`expr $errors + 1`;;
1707 2) $echo "Test ross-0a(<) may have failed." 1>&2
1708 $echo The
command "cmp ross-0a.O $srcdir/ross-0a.X" failed.
1>&2
1709 errors
=`expr $errors + 1`;;
1712 test -s ross-0a.E ||
rm -f ross-0a.E
1713 cat $srcdir/ross-0b.I |
$xx -cs '[:cntrl:]' 'X[Y*]' > ross-0b.O
2> ross-0b.E
1715 if test $code != 1; then
1716 $echo "Test ross-0b(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1717 errors
=`expr $errors + 1`
1719 cmp ross-0b.O
$srcdir/ross-0b.X
> /dev
/null
2>&1
1721 0) if test "$VERBOSE"; then $echo "passed ross-0b(|)"; fi;;
1722 1) $echo "Test ross-0b(|) failed: files ross-0b.O and $srcdir/ross-0b.X differ" 1>&2
1723 (diff -c ross-0b.O
$srcdir/ross-0b.X
) 2> /dev
/null
1724 errors
=`expr $errors + 1`;;
1725 2) $echo "Test ross-0b(|) may have failed." 1>&2
1726 $echo The
command "cmp ross-0b.O $srcdir/ross-0b.X" failed.
1>&2
1727 errors
=`expr $errors + 1`;;
1730 test -s ross-0b.E ||
rm -f ross-0b.E
1731 $xx -cs '[:cntrl:]' 'X[Y*]' < $srcdir/ross-0b.I
> ross-0b.O
2> ross-0b.E
1733 if test $code != 1; then
1734 $echo "Test ross-0b(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
1735 errors
=`expr $errors + 1`
1737 cmp ross-0b.O
$srcdir/ross-0b.X
> /dev
/null
2>&1
1739 0) if test "$VERBOSE"; then $echo "passed ross-0b(<)"; fi;;
1740 1) $echo "Test ross-0b(<) failed: files ross-0b.O and $srcdir/ross-0b.X differ" 1>&2
1741 (diff -c ross-0b.O
$srcdir/ross-0b.X
) 2> /dev
/null
1742 errors
=`expr $errors + 1`;;
1743 2) $echo "Test ross-0b(<) may have failed." 1>&2
1744 $echo The
command "cmp ross-0b.O $srcdir/ross-0b.X" failed.
1>&2
1745 errors
=`expr $errors + 1`;;
1748 test -s ross-0b.E ||
rm -f ross-0b.E
1749 cat $srcdir/ross-1a.I |
$xx -cs '[:upper:]' '[X*]' > ross-1a.O
2> ross-1a.E
1751 if test $code != 0; then
1752 $echo "Test ross-1a(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1753 errors
=`expr $errors + 1`
1755 cmp ross-1a.O
$srcdir/ross-1a.X
> /dev
/null
2>&1
1757 0) if test "$VERBOSE"; then $echo "passed ross-1a(|)"; fi;;
1758 1) $echo "Test ross-1a(|) failed: files ross-1a.O and $srcdir/ross-1a.X differ" 1>&2
1759 (diff -c ross-1a.O
$srcdir/ross-1a.X
) 2> /dev
/null
1760 errors
=`expr $errors + 1`;;
1761 2) $echo "Test ross-1a(|) may have failed." 1>&2
1762 $echo The
command "cmp ross-1a.O $srcdir/ross-1a.X" failed.
1>&2
1763 errors
=`expr $errors + 1`;;
1766 test -s ross-1a.E ||
rm -f ross-1a.E
1767 $xx -cs '[:upper:]' '[X*]' < $srcdir/ross-1a.I
> ross-1a.O
2> ross-1a.E
1769 if test $code != 0; then
1770 $echo "Test ross-1a(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1771 errors
=`expr $errors + 1`
1773 cmp ross-1a.O
$srcdir/ross-1a.X
> /dev
/null
2>&1
1775 0) if test "$VERBOSE"; then $echo "passed ross-1a(<)"; fi;;
1776 1) $echo "Test ross-1a(<) failed: files ross-1a.O and $srcdir/ross-1a.X differ" 1>&2
1777 (diff -c ross-1a.O
$srcdir/ross-1a.X
) 2> /dev
/null
1778 errors
=`expr $errors + 1`;;
1779 2) $echo "Test ross-1a(<) may have failed." 1>&2
1780 $echo The
command "cmp ross-1a.O $srcdir/ross-1a.X" failed.
1>&2
1781 errors
=`expr $errors + 1`;;
1784 test -s ross-1a.E ||
rm -f ross-1a.E
1785 cat $srcdir/ross-1b.I |
$xx -cs '[:upper:][:digit:]' '[Z*]' > ross-1b.O
2> ross-1b.E
1787 if test $code != 0; then
1788 $echo "Test ross-1b(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1789 errors
=`expr $errors + 1`
1791 cmp ross-1b.O
$srcdir/ross-1b.X
> /dev
/null
2>&1
1793 0) if test "$VERBOSE"; then $echo "passed ross-1b(|)"; fi;;
1794 1) $echo "Test ross-1b(|) failed: files ross-1b.O and $srcdir/ross-1b.X differ" 1>&2
1795 (diff -c ross-1b.O
$srcdir/ross-1b.X
) 2> /dev
/null
1796 errors
=`expr $errors + 1`;;
1797 2) $echo "Test ross-1b(|) may have failed." 1>&2
1798 $echo The
command "cmp ross-1b.O $srcdir/ross-1b.X" failed.
1>&2
1799 errors
=`expr $errors + 1`;;
1802 test -s ross-1b.E ||
rm -f ross-1b.E
1803 $xx -cs '[:upper:][:digit:]' '[Z*]' < $srcdir/ross-1b.I
> ross-1b.O
2> ross-1b.E
1805 if test $code != 0; then
1806 $echo "Test ross-1b(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1807 errors
=`expr $errors + 1`
1809 cmp ross-1b.O
$srcdir/ross-1b.X
> /dev
/null
2>&1
1811 0) if test "$VERBOSE"; then $echo "passed ross-1b(<)"; fi;;
1812 1) $echo "Test ross-1b(<) failed: files ross-1b.O and $srcdir/ross-1b.X differ" 1>&2
1813 (diff -c ross-1b.O
$srcdir/ross-1b.X
) 2> /dev
/null
1814 errors
=`expr $errors + 1`;;
1815 2) $echo "Test ross-1b(<) may have failed." 1>&2
1816 $echo The
command "cmp ross-1b.O $srcdir/ross-1b.X" failed.
1>&2
1817 errors
=`expr $errors + 1`;;
1820 test -s ross-1b.E ||
rm -f ross-1b.E
1821 cat $srcdir/ross-2.I |
$xx -dcs '[:lower:]' 'n-rs-z' > ross-2.O
2> ross-2.E
1823 if test $code != 0; then
1824 $echo "Test ross-2(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1825 errors
=`expr $errors + 1`
1827 cmp ross-2.O
$srcdir/ross-2.X
> /dev
/null
2>&1
1829 0) if test "$VERBOSE"; then $echo "passed ross-2(|)"; fi;;
1830 1) $echo "Test ross-2(|) failed: files ross-2.O and $srcdir/ross-2.X differ" 1>&2
1831 (diff -c ross-2.O
$srcdir/ross-2.X
) 2> /dev
/null
1832 errors
=`expr $errors + 1`;;
1833 2) $echo "Test ross-2(|) may have failed." 1>&2
1834 $echo The
command "cmp ross-2.O $srcdir/ross-2.X" failed.
1>&2
1835 errors
=`expr $errors + 1`;;
1838 test -s ross-2.E ||
rm -f ross-2.E
1839 $xx -dcs '[:lower:]' 'n-rs-z' < $srcdir/ross-2.I
> ross-2.O
2> ross-2.E
1841 if test $code != 0; then
1842 $echo "Test ross-2(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1843 errors
=`expr $errors + 1`
1845 cmp ross-2.O
$srcdir/ross-2.X
> /dev
/null
2>&1
1847 0) if test "$VERBOSE"; then $echo "passed ross-2(<)"; fi;;
1848 1) $echo "Test ross-2(<) failed: files ross-2.O and $srcdir/ross-2.X differ" 1>&2
1849 (diff -c ross-2.O
$srcdir/ross-2.X
) 2> /dev
/null
1850 errors
=`expr $errors + 1`;;
1851 2) $echo "Test ross-2(<) may have failed." 1>&2
1852 $echo The
command "cmp ross-2.O $srcdir/ross-2.X" failed.
1>&2
1853 errors
=`expr $errors + 1`;;
1856 test -s ross-2.E ||
rm -f ross-2.E
1857 cat $srcdir/ross-3.I |
$xx -ds '[:xdigit:]' '[:alnum:]' > ross-3.O
2> ross-3.E
1859 if test $code != 0; then
1860 $echo "Test ross-3(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1861 errors
=`expr $errors + 1`
1863 cmp ross-3.O
$srcdir/ross-3.X
> /dev
/null
2>&1
1865 0) if test "$VERBOSE"; then $echo "passed ross-3(|)"; fi;;
1866 1) $echo "Test ross-3(|) failed: files ross-3.O and $srcdir/ross-3.X differ" 1>&2
1867 (diff -c ross-3.O
$srcdir/ross-3.X
) 2> /dev
/null
1868 errors
=`expr $errors + 1`;;
1869 2) $echo "Test ross-3(|) may have failed." 1>&2
1870 $echo The
command "cmp ross-3.O $srcdir/ross-3.X" failed.
1>&2
1871 errors
=`expr $errors + 1`;;
1874 test -s ross-3.E ||
rm -f ross-3.E
1875 $xx -ds '[:xdigit:]' '[:alnum:]' < $srcdir/ross-3.I
> ross-3.O
2> ross-3.E
1877 if test $code != 0; then
1878 $echo "Test ross-3(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1879 errors
=`expr $errors + 1`
1881 cmp ross-3.O
$srcdir/ross-3.X
> /dev
/null
2>&1
1883 0) if test "$VERBOSE"; then $echo "passed ross-3(<)"; fi;;
1884 1) $echo "Test ross-3(<) failed: files ross-3.O and $srcdir/ross-3.X differ" 1>&2
1885 (diff -c ross-3.O
$srcdir/ross-3.X
) 2> /dev
/null
1886 errors
=`expr $errors + 1`;;
1887 2) $echo "Test ross-3(<) may have failed." 1>&2
1888 $echo The
command "cmp ross-3.O $srcdir/ross-3.X" failed.
1>&2
1889 errors
=`expr $errors + 1`;;
1892 test -s ross-3.E ||
rm -f ross-3.E
1893 cat $srcdir/ross-4.I |
$xx -dcs '[:alnum:]' '[:digit:]' > ross-4.O
2> ross-4.E
1895 if test $code != 0; then
1896 $echo "Test ross-4(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1897 errors
=`expr $errors + 1`
1899 cmp ross-4.O
$srcdir/ross-4.X
> /dev
/null
2>&1
1901 0) if test "$VERBOSE"; then $echo "passed ross-4(|)"; fi;;
1902 1) $echo "Test ross-4(|) failed: files ross-4.O and $srcdir/ross-4.X differ" 1>&2
1903 (diff -c ross-4.O
$srcdir/ross-4.X
) 2> /dev
/null
1904 errors
=`expr $errors + 1`;;
1905 2) $echo "Test ross-4(|) may have failed." 1>&2
1906 $echo The
command "cmp ross-4.O $srcdir/ross-4.X" failed.
1>&2
1907 errors
=`expr $errors + 1`;;
1910 test -s ross-4.E ||
rm -f ross-4.E
1911 $xx -dcs '[:alnum:]' '[:digit:]' < $srcdir/ross-4.I
> ross-4.O
2> ross-4.E
1913 if test $code != 0; then
1914 $echo "Test ross-4(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1915 errors
=`expr $errors + 1`
1917 cmp ross-4.O
$srcdir/ross-4.X
> /dev
/null
2>&1
1919 0) if test "$VERBOSE"; then $echo "passed ross-4(<)"; fi;;
1920 1) $echo "Test ross-4(<) failed: files ross-4.O and $srcdir/ross-4.X differ" 1>&2
1921 (diff -c ross-4.O
$srcdir/ross-4.X
) 2> /dev
/null
1922 errors
=`expr $errors + 1`;;
1923 2) $echo "Test ross-4(<) may have failed." 1>&2
1924 $echo The
command "cmp ross-4.O $srcdir/ross-4.X" failed.
1>&2
1925 errors
=`expr $errors + 1`;;
1928 test -s ross-4.E ||
rm -f ross-4.E
1929 cat $srcdir/ross-5.I |
$xx -dc '[:lower:]' > ross-5.O
2> ross-5.E
1931 if test $code != 0; then
1932 $echo "Test ross-5(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1933 errors
=`expr $errors + 1`
1935 cmp ross-5.O
$srcdir/ross-5.X
> /dev
/null
2>&1
1937 0) if test "$VERBOSE"; then $echo "passed ross-5(|)"; fi;;
1938 1) $echo "Test ross-5(|) failed: files ross-5.O and $srcdir/ross-5.X differ" 1>&2
1939 (diff -c ross-5.O
$srcdir/ross-5.X
) 2> /dev
/null
1940 errors
=`expr $errors + 1`;;
1941 2) $echo "Test ross-5(|) may have failed." 1>&2
1942 $echo The
command "cmp ross-5.O $srcdir/ross-5.X" failed.
1>&2
1943 errors
=`expr $errors + 1`;;
1946 test -s ross-5.E ||
rm -f ross-5.E
1947 $xx -dc '[:lower:]' < $srcdir/ross-5.I
> ross-5.O
2> ross-5.E
1949 if test $code != 0; then
1950 $echo "Test ross-5(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1951 errors
=`expr $errors + 1`
1953 cmp ross-5.O
$srcdir/ross-5.X
> /dev
/null
2>&1
1955 0) if test "$VERBOSE"; then $echo "passed ross-5(<)"; fi;;
1956 1) $echo "Test ross-5(<) failed: files ross-5.O and $srcdir/ross-5.X differ" 1>&2
1957 (diff -c ross-5.O
$srcdir/ross-5.X
) 2> /dev
/null
1958 errors
=`expr $errors + 1`;;
1959 2) $echo "Test ross-5(<) may have failed." 1>&2
1960 $echo The
command "cmp ross-5.O $srcdir/ross-5.X" failed.
1>&2
1961 errors
=`expr $errors + 1`;;
1964 test -s ross-5.E ||
rm -f ross-5.E
1965 cat $srcdir/ross-6.I |
$xx -dc '[:upper:]' > ross-6.O
2> ross-6.E
1967 if test $code != 0; then
1968 $echo "Test ross-6(|) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1969 errors
=`expr $errors + 1`
1971 cmp ross-6.O
$srcdir/ross-6.X
> /dev
/null
2>&1
1973 0) if test "$VERBOSE"; then $echo "passed ross-6(|)"; fi;;
1974 1) $echo "Test ross-6(|) failed: files ross-6.O and $srcdir/ross-6.X differ" 1>&2
1975 (diff -c ross-6.O
$srcdir/ross-6.X
) 2> /dev
/null
1976 errors
=`expr $errors + 1`;;
1977 2) $echo "Test ross-6(|) may have failed." 1>&2
1978 $echo The
command "cmp ross-6.O $srcdir/ross-6.X" failed.
1>&2
1979 errors
=`expr $errors + 1`;;
1982 test -s ross-6.E ||
rm -f ross-6.E
1983 $xx -dc '[:upper:]' < $srcdir/ross-6.I
> ross-6.O
2> ross-6.E
1985 if test $code != 0; then
1986 $echo "Test ross-6(<) failed: ../../src/tr return code $code differs from expected value 0" 1>&2
1987 errors
=`expr $errors + 1`
1989 cmp ross-6.O
$srcdir/ross-6.X
> /dev
/null
2>&1
1991 0) if test "$VERBOSE"; then $echo "passed ross-6(<)"; fi;;
1992 1) $echo "Test ross-6(<) failed: files ross-6.O and $srcdir/ross-6.X differ" 1>&2
1993 (diff -c ross-6.O
$srcdir/ross-6.X
) 2> /dev
/null
1994 errors
=`expr $errors + 1`;;
1995 2) $echo "Test ross-6(<) may have failed." 1>&2
1996 $echo The
command "cmp ross-6.O $srcdir/ross-6.X" failed.
1>&2
1997 errors
=`expr $errors + 1`;;
2000 test -s ross-6.E ||
rm -f ross-6.E
2001 cat $srcdir/empty-eq.I |
$xx '[==]' x
> empty-eq.O
2> empty-eq.E
2003 if test $code != 1; then
2004 $echo "Test empty-eq(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
2005 errors
=`expr $errors + 1`
2007 cmp empty-eq.O
$srcdir/empty-eq.X
> /dev
/null
2>&1
2009 0) if test "$VERBOSE"; then $echo "passed empty-eq(|)"; fi;;
2010 1) $echo "Test empty-eq(|) failed: files empty-eq.O and $srcdir/empty-eq.X differ" 1>&2
2011 (diff -c empty-eq.O
$srcdir/empty-eq.X
) 2> /dev
/null
2012 errors
=`expr $errors + 1`;;
2013 2) $echo "Test empty-eq(|) may have failed." 1>&2
2014 $echo The
command "cmp empty-eq.O $srcdir/empty-eq.X" failed.
1>&2
2015 errors
=`expr $errors + 1`;;
2018 test -s empty-eq.E ||
rm -f empty-eq.E
2019 $xx '[==]' x
< $srcdir/empty-eq.I
> empty-eq.O
2> empty-eq.E
2021 if test $code != 1; then
2022 $echo "Test empty-eq(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
2023 errors
=`expr $errors + 1`
2025 cmp empty-eq.O
$srcdir/empty-eq.X
> /dev
/null
2>&1
2027 0) if test "$VERBOSE"; then $echo "passed empty-eq(<)"; fi;;
2028 1) $echo "Test empty-eq(<) failed: files empty-eq.O and $srcdir/empty-eq.X differ" 1>&2
2029 (diff -c empty-eq.O
$srcdir/empty-eq.X
) 2> /dev
/null
2030 errors
=`expr $errors + 1`;;
2031 2) $echo "Test empty-eq(<) may have failed." 1>&2
2032 $echo The
command "cmp empty-eq.O $srcdir/empty-eq.X" failed.
1>&2
2033 errors
=`expr $errors + 1`;;
2036 test -s empty-eq.E ||
rm -f empty-eq.E
2037 cat $srcdir/empty-cc.I |
$xx '[::]' x
> empty-cc.O
2> empty-cc.E
2039 if test $code != 1; then
2040 $echo "Test empty-cc(|) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
2041 errors
=`expr $errors + 1`
2043 cmp empty-cc.O
$srcdir/empty-cc.X
> /dev
/null
2>&1
2045 0) if test "$VERBOSE"; then $echo "passed empty-cc(|)"; fi;;
2046 1) $echo "Test empty-cc(|) failed: files empty-cc.O and $srcdir/empty-cc.X differ" 1>&2
2047 (diff -c empty-cc.O
$srcdir/empty-cc.X
) 2> /dev
/null
2048 errors
=`expr $errors + 1`;;
2049 2) $echo "Test empty-cc(|) may have failed." 1>&2
2050 $echo The
command "cmp empty-cc.O $srcdir/empty-cc.X" failed.
1>&2
2051 errors
=`expr $errors + 1`;;
2054 test -s empty-cc.E ||
rm -f empty-cc.E
2055 $xx '[::]' x
< $srcdir/empty-cc.I
> empty-cc.O
2> empty-cc.E
2057 if test $code != 1; then
2058 $echo "Test empty-cc(<) failed: ../../src/tr return code $code differs from expected value 1" 1>&2
2059 errors
=`expr $errors + 1`
2061 cmp empty-cc.O
$srcdir/empty-cc.X
> /dev
/null
2>&1
2063 0) if test "$VERBOSE"; then $echo "passed empty-cc(<)"; fi;;
2064 1) $echo "Test empty-cc(<) failed: files empty-cc.O and $srcdir/empty-cc.X differ" 1>&2
2065 (diff -c empty-cc.O
$srcdir/empty-cc.X
) 2> /dev
/null
2066 errors
=`expr $errors + 1`;;
2067 2) $echo "Test empty-cc(<) may have failed." 1>&2
2068 $echo The
command "cmp empty-cc.O $srcdir/empty-cc.X" failed.
1>&2
2069 errors
=`expr $errors + 1`;;
2072 test -s empty-cc.E ||
rm -f empty-cc.E
2073 if test $errors = 0; then
2074 $echo Passed all
114 tests.
1>&2
2076 $echo Failed
$errors tests.
1>&2
2078 test $errors = 0 || errors
=1