]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/lib-git-svn.sh
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
[git.git] / t / lib-git-svn.sh
index a841df2a9e3a9ed64e81ab7b9778e59cfc714cad..5b5f288809bd019662cf8af45c277bf61cd6df5c 100644 (file)
@@ -135,3 +135,20 @@ close $wr or die $!;
 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 &
+}
+