File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ SVN_TREE=$GIT_SVN_DIR/svn-tree
1717svn > /dev/null 2>&1
1818if test $? -ne 1
1919then
20- skip_all=' skipping git svn tests, svn not found'
21- test_done
20+ skip_all=' skipping git svn tests, svn not found'
21+ test_done
2222fi
2323
2424svnrepo=$PWD /svnrepo
@@ -110,18 +110,20 @@ EOF
110110}
111111
112112require_svnserve () {
113- if test -z " $SVNSERVE_PORT "
114- then
115- skip_all=' skipping svnserve test. (set $SVNSERVE_PORT to enable)'
116- test_done
117- fi
113+ test_tristate GIT_TEST_SVNSERVE
114+ if ! test " $GIT_TEST_SVNSERVE " = true
115+ then
116+ skip_all=' skipping svnserve test. (set $GIT_TEST_SVNSERVE to enable)'
117+ test_done
118+ fi
118119}
119120
120121start_svnserve () {
121- svnserve --listen-port $SVNSERVE_PORT \
122- --root " $rawsvnrepo " \
123- --listen-once \
124- --listen-host 127.0.0.1 &
122+ SVNSERVE_PORT=${SVNSERVE_PORT-${this_test# t} }
123+ svnserve --listen-port $SVNSERVE_PORT \
124+ --root " $rawsvnrepo " \
125+ --listen-once \
126+ --listen-host 127.0.0.1 &
125127}
126128
127129prepare_a_utf8_locale () {
You can’t perform that action at this time.
0 commit comments