Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-16 20:25:01 +0400
committerJunio C Hamano <gitster@pobox.com>2010-08-18 23:43:24 +0400
commit9b777a165e050f9a881a74a5902a8ddd2de30da5 (patch)
tree37583b97574c2237448fff018cbf63be6c3b9d1b /t/t9602-cvsimport-branches-tags.sh
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 <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 89da4aead5..e1db323f54 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' '