if have_prog uname ; then
case `uname` in
- AIX|CYGWIN*)
+ Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
echo "skipped (not supported on this platform)"
exit 0
;;
exit 0
fi
-if test -z "$SUDO" ; then
- echo "skipped (SUDO not set)"
- exit 0
-else
- $SUDO chown 0 ${SSHAGENT}
- $SUDO chgrp 0 ${SSHAGENT}
- $SUDO chmod 2755 ${SSHAGENT}
-fi
-
trace "start agent"
eval `${SSHAGENT} -s` > /dev/null
r=$?
if [ $? -ne 0 ]; then
fail "gdb failed: exit code $?"
fi
- egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace attach: Permission denied.' >/dev/null ${OBJ}/gdb.out
+ grep 'ptrace: Operation not permitted.' >/dev/null ${OBJ}/gdb.out
r=$?
rm -f ${OBJ}/gdb.out
if [ $r -ne 0 ]; then