if have_prog uname ; then
case `uname` in
- CYGWIN*)
+ AIX|CYGWIN*|OSF1)
echo "skipped (not supported on this platform)"
exit 0
;;
echo "skipped (SUDO not set)"
exit 0
else
- $SUDO chown root ${OBJ}${SSHAGENT}
- $SUDO chgrp root ${OBJ}${SSHAGENT}
- $SUDO chmod 2755 ${OBJ}${SSHAGENT}
+ $SUDO chown 0 ${SSHAGENT}
+ $SUDO chgrp 0 ${SSHAGENT}
+ $SUDO chmod 2755 ${SSHAGENT}
fi
trace "start agent"
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.*Permission denied.|procfs:.*: Invalid argument.' >/dev/null ${OBJ}/gdb.out
r=$?
rm -f ${OBJ}/gdb.out
if [ $r -ne 0 ]; then