From 6f2c0b1d88e2a3db031db50ab6040ef27ce5985f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Mar 1999 22:32:51 +0000 Subject: [PATCH] * insthook.test: Don't require GNU grep. From John Pierce. --- THANKS | 1 + tests/ChangeLog | 2 ++ tests/insthook.test | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index aa41f2cc..51195278 100644 --- a/THANKS +++ b/THANKS @@ -47,6 +47,7 @@ Jochen Kuepper jochen@uni-duesseldorf.de Joel N. Weber II nemo@koa.iolani.honolulu.hi.us Joerg-Martin Schwarz jms@jms.prima.ruhr.de Johan Danielsson joda@pdc.kth.se +John Pierce hawkfan@pyrotechnics.com John W. Coomes jcoomes@eng.Sun.COM Josh MacDonald jmacd@cs.berkeley.edu Joshua Cowan jcowan@jcowan.reslife.okstate.edu diff --git a/tests/ChangeLog b/tests/ChangeLog index 02557dde..f2f0de4f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 1999-03-11 Tom Tromey + * insthook.test: Don't require GNU grep. From John Pierce. + * lex3.test: New file. * Makefile.am (TESTS): Added lex3.test. diff --git a/tests/insthook.test b/tests/insthook.test index e8d9b2a2..82876bf1 100755 --- a/tests/insthook.test +++ b/tests/insthook.test @@ -13,4 +13,5 @@ END $AUTOMAKE || exit 1 test "`grep install-exec-hook Makefile.in | wc -l`" -gt 1 || exit 1 -grep -A2 '^install-exec-am:' Makefile.in | grep install-exec-hook +lnum=`grep -n '^install-exec-am:' Makefile.in | awk -F: '{print $1}'` +test x$lnum != x && tail +$lnum Makefile.in | head -3 | grep install-exec-hook -- 2.43.5