At 10:57 -0400 10/26/00, Larry Jones wrote:
>
>They aren't random -- there's a well-defined set that the test suite
>uses if they're set:
>
> TESTDIR - the directory to run the tests in
> AWK - the awk program to use
> EXPR - the expr program to use
> ID - the id program to use
> TR - the tr program to use
>
>All of them have default values, but they are not appropriate for some
>people. (Note that these affect only the test suite itself, not CVS, so
>there's no danger of CVS working for the tester but not for the users
>based on their settings.) These variables exist because people (plural)
>have needed them -- you're the very first person to report a problem
>running the tests because of a large environment.
Maybe it would be safer to clear the environment at the beginning of sanity.sh.
This is what I have used in the past to clear out unwanted stuff
inside of a script.
#! /bin/sh
for VAR in `set | /usr/bin/sed -e 's/=.*//'`; do
case $VAR in
PATH ) ;;
IFS ) ;;
SHELL ) ;;
USER ) ;;
PS1 ) ;;
PS2 ) ;;
MAILCHECK ) ;;
OPTIND ) ;;
* ) unset $VAR; export $VAR;;
esac
done
unset VAR
PATH=/usr/bin
export PATH
Modify it as you see fit and put it at the beginning of sanity.sh.
Fred
--
==
Fred Brehm, Sarnoff Corporation, [EMAIL PROTECTED]
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX ... James Youngman
- CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX... Lenny Foner
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 un... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multiroot-... Mike Castle
- Re: CVS 1.11 sanity.sh fails at multi... Derek R. Price
- CVS 1.11 sanity.sh fails at multiroot-log-... Lenny Foner
- Re: CVS 1.11 sanity.sh fails at multi... Larry Jones
- CVS 1.11 sanity.sh fails at multi... Lenny Foner
- Re: CVS 1.11 sanity.sh fails at m... Larry Jones
- Re: CVS 1.11 sanity.sh fails at m... Frederic Brehm
- Re: CVS 1.11 sanity.sh fails at m... Larry Jones
- Re: CVS 1.11 sanity.sh fails at m... Rich Salz
- Re: CVS 1.11 sanity.sh fails at multi... James Youngman
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under ... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under ... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 un... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multiroot-log-... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-... Larry Jones
