Sync usage with man page.
[netbsd-mini2440.git] / regress / lib / libc / getaddrinfo / Makefile
blobf5f0df7bf74748e81294aa46b488edd2cb35a9aa
1 # $NetBSD: Makefile,v 1.4 2003/10/26 07:25:34 lukem Exp $
3 NOMAN= # defined
5 PROG= gaitest
6 SRCS= gaitest.c
7 CLEANFILES+= out
9 # XXX: no IPv6-only support yet
10 regress: ${PROG}
11 ${HOST_SH} ${.CURDIR}/testsuite.sh >out 2>&1
12 @if ifconfig lo0 inet6 > /dev/null 2>&1; then \
13 if diff -u ${.CURDIR}/answer-v4v6 out; then \
14 echo SUCCESS; \
15 else \
16 echo FAIL; \
17 exit 1; \
18 fi \
19 else \
20 if diff -u ${.CURDIR}/answer-v4 out; then \
21 echo SUCCESS; \
22 else \
23 echo FAIL; \
24 exit 1; \
25 fi \
28 .include <bsd.prog.mk>