diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2009-02-23 06:08:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-23 21:56:45 -0800 |
commit | 161261b12b3777bc78ef3fbe84ccf595dd195704 (patch) | |
tree | 435527002350b690bba1ce9f47dea038dfca963c /t/lib-cvs.sh | |
parent | 535bb89320ba949f0d64eda530ba5dec0ec6f188 (diff) | |
download | git-161261b12b3777bc78ef3fbe84ccf595dd195704.tar.gz git-161261b12b3777bc78ef3fbe84ccf595dd195704.tar.xz |
Use CVS's -f option if available (ignore user's ~/.cvsrc file)
A user's ~/.cvsrc file can change the basic behavior of CVS commands.
Therefore we should ignore it in order to ensure consistent results
from the test suite.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-cvs.sh')
-rw-r--r-- | t/lib-cvs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/lib-cvs.sh b/t/lib-cvs.sh index bfc1c12f3..67389012e 100644 --- a/t/lib-cvs.sh +++ b/t/lib-cvs.sh @@ -14,6 +14,9 @@ then exit fi +CVS="cvs -f" +export CVS + cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'` case "$cvsps_version" in 2.1 | 2.2*) |