path: root/t/
diff options
authorJunio C Hamano <>2010-08-16 16:25:01 (GMT)
committerJunio C Hamano <>2010-08-18 19:43:24 (GMT)
commit9b777a165e050f9a881a74a5902a8ddd2de30da5 (patch)
tree37583b97574c2237448fff018cbf63be6c3b9d1b /t/
parent06eaaa783c9ba36ac45143eaa3b707f804d377a4 (diff)
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 <>
Diffstat (limited to 't/')
1 files changed, 1 insertions, 4 deletions
diff --git a/t/ b/t/
index 89da4ae..e1db323 100755
--- a/t/
+++ b/t/
@@ -6,10 +6,7 @@
test_description='git cvsimport handling of branches and tags'
. ./
-test_expect_success PERL 'setup CVSROOT' '
- CVSROOT="$TEST_DIRECTORY"/t9602/cvsroot &&
- export CVSROOT
+setup_cvs_test_repository t9602
test_expect_success PERL 'import module' '