diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-11 22:32:17 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-11 22:32:17 -0700 |
commit | 23ee359b08fbdacc546ab84414eb9c63b6a2005d (patch) | |
tree | 09d6f1efe22fc009b5a689c86e1d3da8103fbf1a /regress/dynamic-forward.sh | |
parent | d546a84ef6e2569499d72ed4e1e918c073a7568e (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.sh | 4 |
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 | |||
7 | FWDPORT=4243 | 7 | FWDPORT=4243 |
8 | DATA=/bin/ls${EXEEXT} | 8 | DATA=/bin/ls${EXEEXT} |
9 | 9 | ||
10 | if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then | 10 | if 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" |
12 | elif [ -x "`which connect 2>&1`" ]; then | 12 | elif have_prog connect; then |
13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" | 13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" |
14 | else | 14 | else |
15 | echo "skipped (no suitable ProxyCommand found)" | 15 | echo "skipped (no suitable ProxyCommand found)" |