]> andersk Git - gssapi-openssh.git/blobdiff - openssh/regress/agent-ptrace.sh
The man2html from jbasney on pkilab2 works whereas the standard one doesn't.
[gssapi-openssh.git] / openssh / regress / agent-ptrace.sh
index cd9c0023da1f84cb6eb8b892a5fca0fd2d1fc003..9f9c99960ca602677f4caacf3371c54238d46b1b 100644 (file)
@@ -3,22 +3,6 @@
 
 tid="disallow agent ptrace attach"
 
-if have_prog uname ; then
-       case `uname` in
-       Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
-               echo "skipped (not supported on this platform)"
-               exit 0
-               ;;
-       esac
-fi
-
-if have_prog gdb ; then
-       : ok
-else
-       echo "skipped (gdb not found)"
-       exit 0
-fi
-
 trace "start agent"
 eval `${SSHAGENT} -s` > /dev/null
 r=$?
@@ -32,7 +16,7 @@ EOF
        if [ $? -ne 0 ]; then
                fail "gdb failed: exit code $?"
        fi
-       grep 'ptrace: Operation not permitted.' >/dev/null ${OBJ}/gdb.out
+       grep -q 'ptrace: Operation not permitted.' ${OBJ}/gdb.out
        r=$?
        rm -f ${OBJ}/gdb.out
        if [ $r -ne 0 ]; then
This page took 0.032226 seconds and 4 git commands to generate.