diff options
author | Vincent Gross <vgross@cvs.openbsd.org> | 2016-09-03 15:59:29 +0000 |
---|---|---|
committer | Vincent Gross <vgross@cvs.openbsd.org> | 2016-09-03 15:59:29 +0000 |
commit | 6f7998cc0f30bdcc6891d8cdf53d04264c2fa3c7 (patch) | |
tree | 5e58417deaf6366d94479cae0d6e539de1f276bf /regress/sys | |
parent | 4d105d2a64758d01d646f182cd1bfc5e65e35142 (diff) |
split ipv4 and ipv6
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/netinet/in_pcbbind/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/regress/sys/netinet/in_pcbbind/Makefile b/regress/sys/netinet/in_pcbbind/Makefile index 1d48c6f6b17..457fb6278cc 100644 --- a/regress/sys/netinet/in_pcbbind/Makefile +++ b/regress/sys/netinet/in_pcbbind/Makefile @@ -1,14 +1,22 @@ -# $OpenBSD: Makefile,v 1.3 2015/12/22 13:23:24 vgross Exp $ +# $OpenBSD: Makefile,v 1.4 2016/09/03 15:59:28 vgross Exp $ PROG = runtest PORT = 23000 IFADDR != route -n show -inet | awk '$$8 !~ "lo0" && $$3 ~ /U.*l/ { print $$1; exit }' IF6ADDR != route -n show -inet6 | awk '$$8 !~ "lo0" && $$3 ~ /U.*l/ && $$1 !~ /^fe80/ { print $$1; exit }' -run-regress-runtest: ${PROG} +run-regress-runtest4: ${PROG} ${.OBJDIR}/${PROG} unicast ${PORT} ${IFADDR} ${.OBJDIR}/${PROG} mcast ${PORT} 224.1.1.2 ${IFADDR} + +REGRESS_TARGETS += run-regress-runtest4 + +.if ! empty(IF6ADDR) +run-regress-runtest6: ${PROG} ${.OBJDIR}/${PROG} unicast ${PORT} ${IF6ADDR} ${SUDO} ${.OBJDIR}/${PROG} mcast ${PORT} ff1e::123 ${IF6ADDR} +REGRESS_TARGETS += run-regress-runtest6 +.endif + .include <bsd.regress.mk> |