Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: Allow overriding of TEST_DIRECTORY
[gitweb.git]
/
t
/
lib-cvs.sh
diff --git
a/t/lib-cvs.sh
b/t/lib-cvs.sh
index 648d1619c86bb676faadf62bd831683cb46d6be2..b51d2e13a60352c652db35e812b6949dea4d0f56 100644
(file)
--- a/
t/lib-cvs.sh
+++ b/
t/lib-cvs.sh
@@
-30,6
+30,12
@@
case "$cvsps_version" in
;;
esac
+setup_cvs_test_repository () {
+ CVSROOT="$(pwd)/.cvsroot" &&
+ cp -r "$TEST_DIRECTORY/$1/cvsroot" "$CVSROOT" &&
+ export CVSROOT
+}
+
test_cvs_co () {
# Usage: test_cvs_co BRANCH_NAME
rm -rf module-cvs-"$1"