svn commit: r322255 - head/tests/sys/netinet
Alan Somers
asomers at FreeBSD.org
Tue Aug 8 15:37:23 UTC 2017
Author: asomers
Date: Tue Aug 8 15:37:21 2017
New Revision: 322255
URL: https://svnweb.freebsd.org/changeset/base/322255
Log:
tests/sys/netinet/fibs_test: skip selected tests when firewalls are enabled
Some tests send packets over epair(4) interfaces. Firewalls can cause
spurious failures.
Reviewed by: ngie
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D11917
Modified:
head/tests/sys/netinet/fibs_test.sh
Modified: head/tests/sys/netinet/fibs_test.sh
==============================================================================
--- head/tests/sys/netinet/fibs_test.sh Tue Aug 8 13:44:32 2017 (r322254)
+++ head/tests/sys/netinet/fibs_test.sh Tue Aug 8 15:37:21 2017 (r322255)
@@ -766,6 +766,12 @@ get_epair()
{
local EPAIRD
+ if (which pfctl && pfctl -s info | grep -q 'Status: Enabled') ||
+ [ `sysctl -n net.inet.ip.fw.enable` = "1" ] ||
+ (which ipf && ipf -V); then
+ atf_skip "firewalls interfere with this test"
+ fi
+
if EPAIRD=`ifconfig epair create`; then
# Record the epair device so we can clean it up later
echo ${EPAIRD} >> "ifaces_to_cleanup"
More information about the svn-src-all
mailing list