diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/agent-ptrace.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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=$? |