From: vgross Date: Wed, 14 Oct 2015 12:47:07 +0000 (+0000) Subject: add regress tests for automatic port allocation. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f843f16c57d8ec937baec1f8fdeb0ea1a1217ef4;p=openbsd add regress tests for automatic port allocation. - enable ipv4 - leave ipv6 disabled --- diff --git a/regress/sys/Makefile b/regress/sys/Makefile index 045e46e63dc..a1cdcf73a96 100644 --- a/regress/sys/Makefile +++ b/regress/sys/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.19 2013/10/31 01:24:06 bluhm Exp $ +# $OpenBSD: Makefile,v 1.20 2015/10/14 12:47:07 vgross Exp $ # $NetBSD: Makefile,v 1.4 1995/04/20 22:41:08 cgd Exp $ -SUBDIR+= copy crypto ddb fifofs kern net netinet6 ptrace sys uvm dev +SUBDIR+= copy crypto ddb fifofs kern net netinet netinet6 ptrace sys uvm dev .if exists(arch/${MACHINE}) SUBDIR+= arch/${MACHINE} .endif diff --git a/regress/sys/netinet/Makefile b/regress/sys/netinet/Makefile new file mode 100644 index 00000000000..b9e9bbc52c0 --- /dev/null +++ b/regress/sys/netinet/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2015/10/14 12:47:07 vgross Exp $ + +SUBDIR = autoport + +.include diff --git a/regress/sys/netinet/autoport/Makefile b/regress/sys/netinet/autoport/Makefile new file mode 100644 index 00000000000..e5fa932d7dc --- /dev/null +++ b/regress/sys/netinet/autoport/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2015/10/14 12:47:07 vgross Exp $ + +DIR= ../../netinet6/autoport + +REGRESS_TARGETS= run-regress-autoport +REGRESS_ROOT_TARGETS= $(REGRESS_TARGETS) + +run-regress-autoport: + $(DIR)/autoport.pl 4 30000 31000 64 + +.include