Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109546681
D46040.id141119.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46040.id141119.diff
View Options
diff --git a/tests/sys/netpfil/common/Makefile b/tests/sys/netpfil/common/Makefile
--- a/tests/sys/netpfil/common/Makefile
+++ b/tests/sys/netpfil/common/Makefile
@@ -12,8 +12,9 @@
fragments \
forward
-# Tests reuse jail names and so cannot run in parallel.
-TEST_METADATA+= is_exclusive=true
+# Allow tests to run in parallel in their own jails
+TEST_METADATA+= execenv="jail"
+TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
${PACKAGE}FILES+= \
utils.subr \
diff --git a/tests/sys/netpfil/ipfw/Makefile b/tests/sys/netpfil/ipfw/Makefile
--- a/tests/sys/netpfil/ipfw/Makefile
+++ b/tests/sys/netpfil/ipfw/Makefile
@@ -5,4 +5,8 @@
ATF_TESTS_SH+= fwd
${PACKAGE}FILES+= fwd_inetd.conf
+# Allow tests to run in parallel in their own jails
+TEST_METADATA+= execenv="jail"
+TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
+
.include <bsd.test.mk>
diff --git a/tests/sys/netpfil/pf/Makefile b/tests/sys/netpfil/pf/Makefile
--- a/tests/sys/netpfil/pf/Makefile
+++ b/tests/sys/netpfil/pf/Makefile
@@ -54,8 +54,9 @@
ATF_TESTS_PYTEST+= nat66.py
ATF_TESTS_PYTEST+= sctp.py
-# Tests reuse jail names and so cannot run in parallel.
-TEST_METADATA+= is_exclusive=true
+# Allow tests to run in parallel in their own jails
+TEST_METADATA+= execenv="jail"
+TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
PROGS= divapp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 1:04 PM (12 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16510810
Default Alt Text
D46040.id141119.diff (1 KB)
Attached To
Mode
D46040: netpfil tests: run in parallel
Attached
Detach File
Event Timeline
Log In to Comment