summaryrefslogtreecommitdiff
path: root/regress/dynamic-forward.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2003-09-11 22:32:17 -0700
committerTim Rice <tim@multitalents.net>2003-09-11 22:32:17 -0700
commit23ee359b08fbdacc546ab84414eb9c63b6a2005d (patch)
tree09d6f1efe22fc009b5a689c86e1d3da8103fbf1a /regress/dynamic-forward.sh
parentd546a84ef6e2569499d72ed4e1e918c073a7568e (diff)
[regress/agent-ptrace.sh regress/dynamic-forward.sh
regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh] no longer depends on which(1). patch by dtucker@
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)"