summaryrefslogtreecommitdiffstats
path: root/regress/agent-ptrace.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-11-15 02:13:16 +0100
committerDarren Tucker <dtucker@zip.com.au>2003-11-15 02:13:16 +0100
commit203c40b513853503417f030cd6557c6991431a97 (patch)
tree55ae1ffdab6dd4a20ed65c164fe6df9bfeda9413 /regress/agent-ptrace.sh
parent - (dtucker) [auth-pam.c] Add newline to accumulated PAM_TEXT_INFO and (diff)
downloadopenssh-203c40b513853503417f030cd6557c6991431a97.tar.xz
openssh-203c40b513853503417f030cd6557c6991431a97.zip
- (dtucker) [regress/agent-ptrace.sh] Test for GDB output from Solaris and
HP-UX, skip test on AIX.
Diffstat (limited to '')
-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 3cfc680ca..bd79d7cb8 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -5,7 +5,7 @@ tid="disallow agent ptrace attach"
if have_prog uname ; then
case `uname` in
- CYGWIN*)
+ AIX|CYGWIN*)
echo "skipped (not supported on this platform)"
exit 0
;;
@@ -41,7 +41,7 @@ EOF
if [ $? -ne 0 ]; then
fail "gdb failed: exit code $?"
fi
- grep 'ptrace: Operation not permitted.' >/dev/null ${OBJ}/gdb.out
+ egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace attach: Permission denied.' >/dev/null ${OBJ}/gdb.out
r=$?
rm -f ${OBJ}/gdb.out
if [ $r -ne 0 ]; then