summaryrefslogtreecommitdiff
path: root/regress/dynamic-forward.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/dynamic-forward.sh')
-rw-r--r--regress/dynamic-forward.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh
index 0f175b2d9..2b0b825d0 100644
--- a/regress/dynamic-forward.sh
+++ b/regress/dynamic-forward.sh
@@ -7,9 +7,9 @@ PORT=4242
7FWDPORT=4243 7FWDPORT=4243
8DATA=/bin/ls${EXEEXT} 8DATA=/bin/ls${EXEEXT}
9 9
10if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then 10if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
11 proxycmd="nc -x 127.0.0.1:$FWDPORT -X" 11 proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
12elif [ -x "`which connect 2>&1`" ]; then 12elif have_prog connect; then
13 proxycmd="connect -S 127.0.0.1:$FWDPORT -" 13 proxycmd="connect -S 127.0.0.1:$FWDPORT -"
14else 14else
15 echo "skipped (no suitable ProxyCommand found)" 15 echo "skipped (no suitable ProxyCommand found)"