summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-07 09:22:21 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-07 09:22:21 +1000
commit57ac36ffb4a9b168d92a4c978b8550f980f06806 (patch)
treea31e649d012bd5204a3357ecc125601919bc21c3
parent9f18be63ab1f6987c7bd5514e920b99dbeceb79b (diff)
- (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)]
Put "which" inside quotes.
-rw-r--r--ChangeLog8
-rw-r--r--regress/agent-ptrace.sh4
-rw-r--r--regress/dynamic-forward.sh4
3 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index a66669ced..a974bfce8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120030907
2 - (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)]
3 Put "which" inside quotes.
4
120030906 520030906
2 - (dtucker) [acconfig.h configure.ac uidswap.c] Prefer setuid/setgid on AIX. 6 - (dtucker) [acconfig.h configure.ac uidswap.c] Prefer setuid/setgid on AIX.
3 7
@@ -24,7 +28,7 @@
24 - [regress/agent-ptrace.sh regress/agent-timeout.sh] 28 - [regress/agent-ptrace.sh regress/agent-timeout.sh]
25 "grep -q" -> "grep >/dev/null" 29 "grep -q" -> "grep >/dev/null"
26 - [regress/agent.sh regress/proto-version.sh regress/ssh-com.sh 30 - [regress/agent.sh regress/proto-version.sh regress/ssh-com.sh
27 regress/test-exec.sh] Handle different was of echoing without newlines. 31 regress/test-exec.sh] Handle different ways of echoing without newlines.
28 - [regress/dynamic-forward.sh] Some "which" programs output on stderr. 32 - [regress/dynamic-forward.sh] Some "which" programs output on stderr.
29 - [regress/sftp-cmds.sh] Use portable "test" option. 33 - [regress/sftp-cmds.sh] Use portable "test" option.
30 - [regress/test-exec.sh] Use sudo, search for "whoami" equivalent, always 34 - [regress/test-exec.sh] Use sudo, search for "whoami" equivalent, always
@@ -1024,4 +1028,4 @@
1024 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1028 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1025 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1029 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1026 1030
1027$Id: ChangeLog,v 1.2962 2003/09/06 06:44:39 dtucker Exp $ 1031$Id: ChangeLog,v 1.2963 2003/09/06 23:22:21 dtucker Exp $
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh
index 8b133a39b..4124f5844 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -3,7 +3,7 @@
3 3
4tid="disallow agent ptrace attach" 4tid="disallow agent ptrace attach"
5 5
6if [ -x `which uname 2>&1` ]; then 6if [ -x "`which uname 2>&1`" ]; then
7 case `uname` in 7 case `uname` in
8 Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*) 8 Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
9 echo "skipped (not supported on this platform)" 9 echo "skipped (not supported on this platform)"
@@ -12,7 +12,7 @@ if [ -x `which uname 2>&1` ]; then
12 esac 12 esac
13fi 13fi
14 14
15if [ ! -x `which gdb 2>&1` ]; then 15if [ ! -x "`which gdb 2>&1`" ]; then
16 echo "skipped (gdb not found)" 16 echo "skipped (gdb not found)"
17 exit 0 17 exit 0
18fi 18fi
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh
index afa1f103d..4931e95c9 100644
--- a/regress/dynamic-forward.sh
+++ b/regress/dynamic-forward.sh
@@ -6,9 +6,9 @@ tid="dynamic forwarding"
6PORT=4242 6PORT=4242
7FWDPORT=4243 7FWDPORT=4243
8 8
9if [ -x `which nc 2>&1` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then 9if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X" 10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
11elif [ -x `which connect 2>&1` ]; then 11elif [ -x "`which connect 2>&1`" ]; then
12 proxycmd="connect -S 127.0.0.1:$FWDPORT -" 12 proxycmd="connect -S 127.0.0.1:$FWDPORT -"
13else 13else
14 echo "skipped (no suitable ProxyCommand found)" 14 echo "skipped (no suitable ProxyCommand found)"