summaryrefslogtreecommitdiff
path: root/t/lib-cvs.sh
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2010-08-30 09:50:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-31 19:12:02 (GMT)
commite4c62e640db3f704b4c27435c6b8efdb170988dc (patch)
tree0b3ca378eb4d5a915c6bb20998ad180383ee4520 /t/lib-cvs.sh
parent0d314ce834df9ad6bb5d6e9583c38aefd047fc9b (diff)
downloadgit-e4c62e640db3f704b4c27435c6b8efdb170988dc.zip
git-e4c62e640db3f704b4c27435c6b8efdb170988dc.tar.gz
git-e4c62e640db3f704b4c27435c6b8efdb170988dc.tar.bz2
tests: factor HOME=$(pwd) in test-lib.sh
The same pattern is used in many tests, and makes it easy for new ones to rely on $HOME being a trashable, clean, directory. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-cvs.sh')
-rw-r--r--t/lib-cvs.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/lib-cvs.sh b/t/lib-cvs.sh
index b51d2e1..44263ad 100644
--- a/t/lib-cvs.sh
+++ b/t/lib-cvs.sh
@@ -3,9 +3,6 @@
. ./test-lib.sh
unset CVS_SERVER
-# for clean cvsps cache
-HOME=$(pwd)
-export HOME
if ! type cvs >/dev/null 2>&1
then