aboutsummaryrefslogtreecommitdiff
path: root/t/t9113-git-svn-dcommit-new-file.sh
diff options
context:
space:
mode:
authorAlec Berryman <alec@thened.net>2008-09-14 17:14:15 -0400
committerJunio C Hamano <gitster@pobox.com>2008-09-18 19:20:34 -0700
commitdd9da51fe261f723d206fdd5e4874c25937d1b87 (patch)
tree28db15ae9e9283b5341bc5503f33d10db7088262 /t/t9113-git-svn-dcommit-new-file.sh
parent903e09a3ecca8941b32bae08b821545941591348 (diff)
downloadgit-dd9da51fe261f723d206fdd5e4874c25937d1b87.tar.gz
git-dd9da51fe261f723d206fdd5e4874c25937d1b87.tar.xz
git-svn: factor out svnserve test code for later use
Signed-off-by: Alec Berryman <alec@thened.net> Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9113-git-svn-dcommit-new-file.sh')
-rwxr-xr-xt/t9113-git-svn-dcommit-new-file.sh14
1 files changed, 1 insertions, 13 deletions
diff --git a/t/t9113-git-svn-dcommit-new-file.sh b/t/t9113-git-svn-dcommit-new-file.sh
index ae78e334a..c2b24a439 100755
--- a/t/t9113-git-svn-dcommit-new-file.sh
+++ b/t/t9113-git-svn-dcommit-new-file.sh
@@ -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 &&