summaryrefslogtreecommitdiff
path: root/regress/agent-ptrace.sh
diff options
context:
space:
mode:
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 4124f5844..b9d86a29d 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 have_prog uname ; 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 ! have_prog gdb ; then
16 echo "skipped (gdb not found)" 16 echo "skipped (gdb not found)"
17 exit 0 17 exit 0
18fi 18fi