aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-12-06 17:15:24 +0000
committerKristof Provost <kp@FreeBSD.org>2021-12-06 17:15:24 +0000
commit5fecc5a79a3833a4e2f57f103deef1e87eed839e (patch)
tree97be60db9c16092d87e0a7b5f05fd287fd5cc8d8
parent553af8f1ec71d397b5b4fd5876622b9269936e63 (diff)
downloadsrc-5fecc5a79a3833a4e2f57f103deef1e87eed839e.tar.gz
src-5fecc5a79a3833a4e2f57f103deef1e87eed839e.zip
dummynet tests: disable for now
Disable the dummynet tests when running the ci tests. This avoids running into the panic described in https://reviews.freebsd.org/D33064 (where an interface is removed but a dummynet queued packet still has a pointer to it). These tests can be re-enabled when the work in https://reviews.freebsd.org/D33267 lands. Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--tests/sys/netpfil/common/utils.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sys/netpfil/common/utils.subr b/tests/sys/netpfil/common/utils.subr
index 43cd856b2e87..b155d0f86426 100644
--- a/tests/sys/netpfil/common/utils.subr
+++ b/tests/sys/netpfil/common/utils.subr
@@ -111,6 +111,10 @@ dummynet_init()
atf_skip "This test requires dummynet"
fi
+ if [ "$(atf_config_get ci false)" = "true" ]; then
+ atf_skip "Skip to avoid dummynet_send() panic. See https://reviews.freebsd.org/D33064"
+ fi
+
case $firewall in
ipfw|pf)
# Nothing. This is okay.