diff options
Diffstat (limited to 'regress/agent-ptrace.sh')
-rw-r--r-- | regress/agent-ptrace.sh | 4 |
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 | ||
4 | tid="disallow agent ptrace attach" | 4 | tid="disallow agent ptrace attach" |
5 | 5 | ||
6 | if [ -x `which uname 2>&1` ]; then | 6 | if [ -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 |
13 | fi | 13 | fi |
14 | 14 | ||
15 | if [ ! -x `which gdb 2>&1` ]; then | 15 | if [ ! -x "`which gdb 2>&1`" ]; then |
16 | echo "skipped (gdb not found)" | 16 | echo "skipped (gdb not found)" |
17 | exit 0 | 17 | exit 0 |
18 | fi | 18 | fi |