summaryrefslogtreecommitdiff
path: root/t/t9602-cvsimport-branches-tags.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-16 16:25:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-18 19:43:24 (GMT)
commit9b777a165e050f9a881a74a5902a8ddd2de30da5 (patch)
tree37583b97574c2237448fff018cbf63be6c3b9d1b /t/t9602-cvsimport-branches-tags.sh
parent06eaaa783c9ba36ac45143eaa3b707f804d377a4 (diff)
downloadgit-9b777a165e050f9a881a74a5902a8ddd2de30da5.zip
git-9b777a165e050f9a881a74a5902a8ddd2de30da5.tar.gz
git-9b777a165e050f9a881a74a5902a8ddd2de30da5.tar.bz2
cvs tests: do not touch test CVS repositories shipped with source
Some tests in t96xx series (cvsimport) want to write into the control area (CVSROOT) of their test CVS repositories, but this does not work well when the source area is made read-only (test trash directories are moved via --root=else/where option). Copy the supplied test CVS repository to a scratch place at the beginning of these tests. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9602-cvsimport-branches-tags.sh')
-rwxr-xr-xt/t9602-cvsimport-branches-tags.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/t9602-cvsimport-branches-tags.sh b/t/t9602-cvsimport-branches-tags.sh
index 89da4ae..e1db323 100755
--- a/t/t9602-cvsimport-branches-tags.sh
+++ b/t/t9602-cvsimport-branches-tags.sh
@@ -6,10 +6,7 @@
test_description='git cvsimport handling of branches and tags'
. ./lib-cvs.sh
-test_expect_success PERL 'setup CVSROOT' '
- CVSROOT="$TEST_DIRECTORY"/t9602/cvsroot &&
- export CVSROOT
-'
+setup_cvs_test_repository t9602
test_expect_success PERL 'import module' '