Merge branch 'jk/maint-soliconv' into maint
[gitweb.git] / t / t9113-git-svn-dcommit-new-file.sh
index ae78e334acac717a737b75bdc93af48542190b67..c2b24a439d8f7aee5431a40dfe1fdb5ec61a53f6 100755 (executable)
@@ -12,19 +12,7 @@ test_description='git-svn dcommit new files over svn:// test'
 
 . ./lib-git-svn.sh
 
-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 &
-}
+require_svnserve
 
 test_expect_success 'start tracking an empty repo' '
        svn mkdir -m "empty dir" "$svnrepo"/empty-dir &&