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
17
17
svn > /dev/null 2>&1
18
18
if test $? -ne 1
19
19
then
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
22
22
fi
23
23
24
24
svnrepo=$PWD /svnrepo
@@ -110,18 +110,20 @@ EOF
110
110
}
111
111
112
112
require_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
118
119
}
119
120
120
121
start_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 &
125
127
}
126
128
127
129
prepare_a_utf8_locale () {
You can’t perform that action at this time.
0 commit comments