summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-01-12 17:37:04 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-01-12 17:37:04 (GMT)
commit35be2c5bcf958128ed6254ed1a8b814d17c6640d (patch)
treeb8236383c4f3e9d71e53bef3ebf59e3f95010478
parent78ce044eb57e18ffb654053b6f12a1e71ead7ccc (diff)
downloadsavannah-tests-35be2c5bcf958128ed6254ed1a8b814d17c6640d.zip
savannah-tests-35be2c5bcf958128ed6254ed1a8b814d17c6640d.tar.gz
savannah-tests-35be2c5bcf958128ed6254ed1a8b814d17c6640d.tar.bz2
cvs-rsync: use $CVSPROJ instead of fixed project name
-rwxr-xr-xtest/cvs-rsync10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/cvs-rsync b/test/cvs-rsync
index c16393e..41c26b5 100755
--- a/test/cvs-rsync
+++ b/test/cvs-rsync
@@ -32,9 +32,11 @@ testit() {
test -s out && exit 1
}
-testit rsync://cvs.savannah.gnu.org/sources/hello/
-testit rsync://cvs.savannah.nongnu.org/sources/hello/
-testit rsync://cvs.sv.gnu.org/sources/hello/
-testit rsync://cvs.sv.nongnu.org/sources/hello/
+CVSPROJ=${CVSPROJ:=hello}
+
+testit rsync://cvs.savannah.gnu.org/sources/${CVSPROJ}/
+testit rsync://cvs.savannah.nongnu.org/sources/${CVSPROJ}/
+testit rsync://cvs.sv.gnu.org/sources/${CVSPROJ}/
+testit rsync://cvs.sv.nongnu.org/sources/${CVSPROJ}/
exit 0