aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-08-08 15:37:21 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-08-08 15:37:21 +0000
commit4312aa67e38ea3402c955a790a600302209525a5 (patch)
tree6c0be91686f650054dde6ae1a6025a3cbe8a3491 /tests
parent9c520358147992a1f7e837ed8d5287c5082a0868 (diff)
Notes
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/netinet/fibs_test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sys/netinet/fibs_test.sh b/tests/sys/netinet/fibs_test.sh
index febcbb7577f2..9799f2a5303e 100644
--- a/tests/sys/netinet/fibs_test.sh
+++ b/tests/sys/netinet/fibs_test.sh
@@ -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"