| 1 |
#! /bin/sh |
| 2 |
# Regression test for GNU grep. |
| 3 |
# |
| 4 |
# Copyright (C) 2001, 2006, 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/ere.awk $abs_top_srcdir/tests/ere.tests \ |
| 17 |
> ere.script || fail=1 |
| 18 |
|
| 19 |
${re_shell-${SHELL-sh}} ere.script || fail=1 |
| 20 |
|
| 21 |
Exit $fail |