source:
trunk/grep/tests/khadafy.sh@
2652
| Last change on this file since 2652 was 2557, checked in by , 20 years ago | |
|---|---|
| File size: 368 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # Regression test for GNU grep. |
| 3 | |
| 4 | : ${srcdir=.} |
| 5 | : ${GREP=../src/grep} |
| 6 | |
| 7 | failures=0 |
| 8 | |
| 9 | # The Khadafy test is brought to you by Scott Anderson . . . |
| 10 | |
| 11 | ${GREP} -E -f $srcdir/khadafy.regexp $srcdir/khadafy.lines > khadafy.out |
| 12 | if cmp $srcdir/khadafy.lines khadafy.out |
| 13 | then |
| 14 | : |
| 15 | else |
| 16 | echo Khadafy test failed -- output left on khadafy.out |
| 17 | failures=1 |
| 18 | fi |
| 19 | |
| 20 | exit $failures |
Note:
See TracBrowser
for help on using the repository browser.
