summaryrefslogtreecommitdiff
path: root/regress/agent-ptrace.sh
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 /regress/agent-ptrace.sh
parent9f18be63ab1f6987c7bd5514e920b99dbeceb79b (diff)
- (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)]
Put "which" inside quotes.
Diffstat (limited to 'regress/agent-ptrace.sh')
-rw-r--r--regress/agent-ptrace.sh4
1 files changed, 2 insertions, 2 deletions
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