summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-04 13:55:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-04 13:55:25 +1000
commit5569759bce2f3660ef314d58a08652e05222d580 (patch)
tree008eeb45ea50696e827c371ab6a885e7b02d0c7b
parent2297ac41ca1c39558484f05a3c298b358f77c528 (diff)
- [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or
gdb cannot be found.
-rw-r--r--ChangeLog4
-rw-r--r--regress/agent-ptrace.sh14
2 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bca8568b1..4ff13cad5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
4 - [Makefile.in] Add "make tests" target and "make clean" hooks. 4 - [Makefile.in] Add "make tests" target and "make clean" hooks.
5 - [regress/agent-getpeereid.sh] Skip test on platforms that don't support 5 - [regress/agent-getpeereid.sh] Skip test on platforms that don't support
6 getpeereid. 6 getpeereid.
7 - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or
8 gdb cannot be found.
7 9
820030903 1020030903
9 - (djm) OpenBSD CVS Sync 11 - (djm) OpenBSD CVS Sync
@@ -994,4 +996,4 @@
994 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 996 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
995 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 997 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
996 998
997$Id: ChangeLog,v 1.2943 2003/09/04 03:49:30 dtucker Exp $ 999$Id: ChangeLog,v 1.2944 2003/09/04 03:55:25 dtucker Exp $
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh
index 9f9c99960..7367d7aff 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -3,6 +3,20 @@
3 3
4tid="disallow agent ptrace attach" 4tid="disallow agent ptrace attach"
5 5
6if [ -x `which uname 2>&1` ]; then
7 case `uname` in
8 Linux|HP-UX|SunOS|NetBSD|AIX)
9 echo "skipped (not supported)"
10 exit 0
11 ;;
12 esac
13fi
14
15if [ ! -x `which gdb 2>&1` ]; then
16 echo "skipped (gdb not found)"
17 exit 0
18fi
19
6trace "start agent" 20trace "start agent"
7eval `${SSHAGENT} -s` > /dev/null 21eval `${SSHAGENT} -s` > /dev/null
8r=$? 22r=$?