diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-12 07:32:17 +0200 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-12 07:32:17 +0200 |
commit | 23ee359b08fbdacc546ab84414eb9c63b6a2005d (patch) | |
tree | 09d6f1efe22fc009b5a689c86e1d3da8103fbf1a /regress/dynamic-forward.sh | |
parent | [configure.ac] Prefer setuid/setgid on UnixWare and Open Server. (diff) | |
download | openssh-23ee359b08fbdacc546ab84414eb9c63b6a2005d.tar.xz openssh-23ee359b08fbdacc546ab84414eb9c63b6a2005d.zip |
[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 FWDPORT=4243 DATA=/bin/ls${EXEEXT} -if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then +if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then proxycmd="nc -x 127.0.0.1:$FWDPORT -X" -elif [ -x "`which connect 2>&1`" ]; then +elif have_prog connect; then proxycmd="connect -S 127.0.0.1:$FWDPORT -" else echo "skipped (no suitable ProxyCommand found)" |