diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index c526eedd622558275b48fee35fb8382b2c815b9b..67c431d4ebbb32fe8d88a83104485b38d746fa62 100644 (file)
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
close $rd or die $!;
EOF
}
+
+require_svnserve () {
+ if test -z "$SVNSERVE_PORT"
+ then
+ say 'skipping svnserve test. (set $SVNSERVE_PORT to enable)'
+ test_done
+ exit
+ fi
+}
+
+start_svnserve () {
+ svnserve --listen-port $SVNSERVE_PORT \
+ --root "$rawsvnrepo" \
+ --listen-once \
+ --listen-host 127.0.0.1 &
+}
+