diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/agent-ptrace.sh | 14 |
2 files changed, 17 insertions, 1 deletions
@@ -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 | ||
8 | 20030903 | 10 | 20030903 |
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 | ||
4 | tid="disallow agent ptrace attach" | 4 | tid="disallow agent ptrace attach" |
5 | 5 | ||
6 | if [ -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 | ||
13 | fi | ||
14 | |||
15 | if [ ! -x `which gdb 2>&1` ]; then | ||
16 | echo "skipped (gdb not found)" | ||
17 | exit 0 | ||
18 | fi | ||
19 | |||
6 | trace "start agent" | 20 | trace "start agent" |
7 | eval `${SSHAGENT} -s` > /dev/null | 21 | eval `${SSHAGENT} -s` > /dev/null |
8 | r=$? | 22 | r=$? |