From 23ee359b08fbdacc546ab84414eb9c63b6a2005d Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Thu, 11 Sep 2003 22:32:17 -0700 Subject: [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@ --- regress/agent-ptrace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/agent-ptrace.sh') 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 @@ tid="disallow agent ptrace attach" -if [ -x "`which uname 2>&1`" ]; then +if have_prog uname ; then case `uname` in Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*) echo "skipped (not supported on this platform)" @@ -12,7 +12,7 @@ if [ -x "`which uname 2>&1`" ]; then esac fi -if [ ! -x "`which gdb 2>&1`" ]; then +if ! have_prog gdb ; then echo "skipped (gdb not found)" exit 0 fi -- cgit v1.2.3