File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -300,18 +300,28 @@ if [ -z "$SKIP_NEGOTIATE_TESTS" -a -n "$GITTEST_NEGOTIATE_PASSWORD" ]; then
300300fi
301301
302302if [ -z " $SKIP_SSH_TESTS " ]; then
303- echo " "
304- echo " Running ssh tests"
305- echo " "
306-
307- export GITTEST_REMOTE_URL=" ssh://localhost:2222/$SSHD_DIR /test.git"
308303 export GITTEST_REMOTE_USER=$USER
309304 export GITTEST_REMOTE_SSH_KEY=" ${HOME} /.ssh/id_rsa"
310305 export GITTEST_REMOTE_SSH_PUBKEY=" ${HOME} /.ssh/id_rsa.pub"
311306 export GITTEST_REMOTE_SSH_PASSPHRASE=" "
312307 export GITTEST_REMOTE_SSH_FINGERPRINT=" ${SSH_FINGERPRINT} "
308+
309+ echo " "
310+ echo " Running ssh tests"
311+ echo " "
312+
313+ export GITTEST_REMOTE_URL=" ssh://localhost:2222/$SSHD_DIR /test.git"
313314 run_test ssh
314315 unset GITTEST_REMOTE_URL
316+
317+ echo " "
318+ echo " Running ssh tests (scp-style paths)"
319+ echo " "
320+
321+ export GITTEST_REMOTE_URL=" [localhost:2222]:$SSHD_DIR /test.git"
322+ run_test ssh
323+ unset GITTEST_REMOTE_URL
324+
315325 unset GITTEST_REMOTE_USER
316326 unset GITTEST_REMOTE_SSH_KEY
317327 unset GITTEST_REMOTE_SSH_PUBKEY
You can’t perform that action at this time.
0 commit comments