diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /gnu/usr.bin/grep/tests/scriptgen.awk | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Release FreeBSD 1.1upstream/1.1.0_cvsrelease/1.1.0_cvs
This commit was manufactured to restore the state of the 1.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/usr.bin/grep/tests/scriptgen.awk')
| -rw-r--r-- | gnu/usr.bin/grep/tests/scriptgen.awk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/grep/tests/scriptgen.awk b/gnu/usr.bin/grep/tests/scriptgen.awk new file mode 100644 index 000000000000..44ef4df16e53 --- /dev/null +++ b/gnu/usr.bin/grep/tests/scriptgen.awk @@ -0,0 +1,10 @@ +BEGIN { print "failures=0"; } +$0 !~ /^#/ && NF == 3 { + print "echo '" $3 "' | ./grep -E -e '" $2 "' > /dev/null 2>&1"; + print "if [ $? != " $1 " ]" + print "then" + printf "\techo Spencer test \\#%d failed\n", ++n + print "\tfailures=1" + print "fi" +} +END { print "exit $failures"; } |
