summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 903e09a)
raw | patch | inline | side by side (parent: 903e09a)
author | Alec Berryman <alec@thened.net> | |
Sun, 14 Sep 2008 21:14:15 +0000 (17:14 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 19 Sep 2008 02:20:34 +0000 (19:20 -0700) |
Signed-off-by: Alec Berryman <alec@thened.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-git-svn.sh | patch | blob | history | |
t/t9113-git-svn-dcommit-new-file.sh | patch | blob | history |
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index a841df2a9e3a9ed64e81ab7b9778e59cfc714cad..5b5f288809bd019662cf8af45c277bf61cd6df5c 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 &
+}
+
index ae78e334acac717a737b75bdc93af48542190b67..c2b24a439d8f7aee5431a40dfe1fdb5ec61a53f6 100755 (executable)
. ./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 &&