From 25b892b92159b52e0bb09d6168d5e8c16f989d16 Mon Sep 17 00:00:00 2001 From: "sonmi%netscape.com" Date: Fri, 13 Apr 2001 21:42:18 +0000 Subject: [PATCH] added parameters for linux grep --- security/nss/tests/set_environment | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/security/nss/tests/set_environment b/security/nss/tests/set_environment index 9c36cb724fb..85ec7e273f2 100644 --- a/security/nss/tests/set_environment +++ b/security/nss/tests/set_environment @@ -36,6 +36,8 @@ fi MANPATH=/usr/share/man:/usr/openwin/man:/usr/local/man RMAIL=rmail +BEFORE_CONTEXT_GREP="" +AFTER_CONTEXT_GREP="" export CVSROOT HOME os_name os_version os_full MANPATH @@ -70,6 +72,11 @@ elif [ $os_name = "Linux" ] then PATH=/lib:/usr/lib:/bin:/sbin:/usr/bin:/usr/sbin:$PATH RMAIL=sendmail + #the gnu grep, on Linux can output 10 lines above and 3 lines below + #the errormessage + BEFORE_CONTEXT_GREP="--before-context=10" + AFTER_CONTEXT_GREP="--after-context=3" + elif [ $os_name = "AIX" ] then PATH=$PATH:/tools/contrib/bin:/usr/local/bin