aboutsummaryrefslogtreecommitdiff
path: root/t/t9601-cvsimport-vendor-branch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-16 09:25:01 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-18 12:43:24 -0700
commit9b777a165e050f9a881a74a5902a8ddd2de30da5 (patch)
tree37583b97574c2237448fff018cbf63be6c3b9d1b /t/t9601-cvsimport-vendor-branch.sh
parent06eaaa783c9ba36ac45143eaa3b707f804d377a4 (diff)
downloadgit-9b777a165e050f9a881a74a5902a8ddd2de30da5.tar.gz
git-9b777a165e050f9a881a74a5902a8ddd2de30da5.tar.xz
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/t9601-cvsimport-vendor-branch.sh')
-rwxr-xr-xt/t9601-cvsimport-vendor-branch.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/t9601-cvsimport-vendor-branch.sh b/t/t9601-cvsimport-vendor-branch.sh
index 71178e2e5..827d39f5b 100755
--- a/t/t9601-cvsimport-vendor-branch.sh
+++ b/t/t9601-cvsimport-vendor-branch.sh
@@ -34,10 +34,7 @@
test_description='git cvsimport handling of vendor branches'
. ./lib-cvs.sh
-test_expect_success PERL 'setup CVSROOT' '
- CVSROOT="$TEST_DIRECTORY"/t9601/cvsroot &&
- export CVSROOT
-'
+setup_cvs_test_repository t9601
test_expect_success PERL 'import a module with a vendor branch' '