summaryrefslogtreecommitdiff
path: root/tests/ere.awk
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-03-02 22:51:33 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-03-02 22:51:33 +0000
commite9ebcd1359d1d362510b0568e03f87efc1fe0233 (patch)
treee458db930cab994e92bc40951d3aa91a8d9d2005 /tests/ere.awk
parent5b44c275f5d8305fc50a68675e62f63c6c944f93 (diff)
downloadgrep-e9ebcd1359d1d362510b0568e03f87efc1fe0233.tar.gz
updates.
drain stdin. * configure.in : Change the configure VC test from 'test x$ac_cv_prog_CC = xcl;' to 'test x"$ac_cv_prog_CC" = xcl;' Email from Joshua R. Poulson.
Diffstat (limited to 'tests/ere.awk')
-rw-r--r--tests/ere.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ere.awk b/tests/ere.awk
index c014fe9a..b790ee2a 100644
--- a/tests/ere.awk
+++ b/tests/ere.awk
@@ -8,7 +8,7 @@ BEGIN {
$0 ~ /^#/ { next; }
NF == 3 {
- printf ("echo '%s' | ${GREP} -E -e '%s' > /dev/null 2>&1\n",$3, $2);
+ printf ("echo '%s' | { ${GREP} -E -e '%s' > /dev/null 2>&1 ; cat > /dev/null }\n",$3, $2);
printf ("if test $? -ne %s ; then\n", $1);
printf ("\techo Spencer ere test \\#%d failed\n", ++n);
printf ("\tfailures=1\n");