]> andersk Git - openssh.git/blobdiff - regress/agent-getpeereid.sh
- (dtucker) [regress/agent-getpeereid.sh] Do peereid test if we have
[openssh.git] / regress / agent-getpeereid.sh
index e5fcedda78ef07130d1b159a5f3b529e8e4ac354..d71324241b5bd239a65e6d03fce46146ab856283 100644 (file)
@@ -7,7 +7,9 @@ UNPRIV=nobody
 ASOCK=${OBJ}/agent
 SSH_AUTH_SOCK=/nonexistant
 
-if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1
+if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1 && \
+       grep "#undef.*HAVE_GETPEERUCRED" ${BUILDDIR}/config.h >/dev/null && \
+       grep "#undef.*HAVE_SO_PEERCRED" ${BUILDDIR}/config.h >/dev/null
 then
        echo "skipped (not supported on this platform)"
        exit 0
This page took 0.044032 seconds and 4 git commands to generate.