source:
trunk/essentials/sys-apps/grep/tests/khadafy.sh
Last change on this file was 2557, checked in by , 19 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.