- [regress/agent-getpeereid.sh] Skip test on platforms that don't support

getpeereid.
This commit is contained in:
Darren Tucker 2003-09-04 13:49:30 +10:00
parent 150a81c745
commit 2297ac41ca
2 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,8 @@
- (dtucker) Portablize regression tests. Parts contributed by Roumen
Petrov, David M. Williams and Corinna Vinschen.
- [Makefile.in] Add "make tests" target and "make clean" hooks.
- [regress/agent-getpeereid.sh] Skip test on platforms that don't support
getpeereid.
20030903
- (djm) OpenBSD CVS Sync
@ -992,4 +994,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2942 2003/09/04 03:41:06 dtucker Exp $
$Id: ChangeLog,v 1.2943 2003/09/04 03:49:30 dtucker Exp $

View File

@ -7,6 +7,12 @@ UNPRIV=nobody
ASOCK=${OBJ}/agent
SSH_AUTH_SOCK=/nonexistant
if grep "#undef.*HAVE_GETPEEREID" ${OBJ}/config.h >/dev/null 2>&1
then
echo "skipped (not supported on this platform)"
exit 0
fi
trace "start agent"
eval `${SSHAGENT} -s -a ${ASOCK}` > /dev/null
r=$?