Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145826291
D43078.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
513 B
Referenced Files
None
Subscribers
None
D43078.diff
View Options
diff --git a/tests/sys/netpfil/common/utils.subr b/tests/sys/netpfil/common/utils.subr
--- a/tests/sys/netpfil/common/utils.subr
+++ b/tests/sys/netpfil/common/utils.subr
@@ -87,6 +87,9 @@
if ! kldstat -q -m ipfw; then
atf_skip "This test requires ipfw"
fi
+ if [ $(sysctl -n net.inet.ip.fw.default_to_accept) -ne 1 ]; then
+ atf_skip "ipfw tests assume net.inet.ip.fw.default_to_accept=1"
+ fi
elif [ ${firewall} == "pf" ]; then
if [ ! -c /dev/pf ]; then
atf_skip "This test requires pf"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 25, 11:54 PM (7 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28997636
Default Alt Text
D43078.diff (513 B)
Attached To
Mode
D43078: netpfil tests: do not run ipfw tests if net.inet.ip.fw.default_to_accept is not set
Attached
Detach File
Event Timeline
Log In to Comment