| 1 |
#! /bin/sh |
| 2 |
# Regression test for GNU grep. |
| 3 |
# Copyright (C) 1988 Henry Spencer. |
| 4 |
# Copyright (C) 2009-2025 Free Software Foundation, Inc. |
| 5 |
# |
| 6 |
# Copying and distribution of this file, with or without modification, |
| 7 |
# are permitted in any medium without royalty provided the copyright |
| 8 |
# notice and this notice are preserved. |
| 9 |
|
| 10 |
. "${srcdir=.}/init.sh"; path_prepend_ ../src |
| 11 |
|
| 12 |
fail=0 |
| 13 |
|
| 14 |
# . . . and the following by Henry Spencer. |
| 15 |
|
| 16 |
${AWK-awk} -f $abs_top_srcdir/tests/spencer1.awk \ |
| 17 |
$abs_top_srcdir/tests/spencer1.tests > spencer1.script || fail=1 |
| 18 |
|
| 19 |
. ./spencer1.script || fail=1 |
| 20 |
|
| 21 |
Exit 1 |