summaryrefslogtreecommitdiff
path: root/regress/agent-ptrace.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2003-09-11 22:32:17 -0700
committerTim Rice <tim@multitalents.net>2003-09-11 22:32:17 -0700
commit23ee359b08fbdacc546ab84414eb9c63b6a2005d (patch)
tree09d6f1efe22fc009b5a689c86e1d3da8103fbf1a /regress/agent-ptrace.sh
parentd546a84ef6e2569499d72ed4e1e918c073a7568e (diff)
[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/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