Author: asomers
Date: Thu Sep  7 19:57:31 2017
New Revision: 323284
URL: https://svnweb.freebsd.org/changeset/base/323284

Log:
  MFC r322255:
  
  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
  Sponsored by: Spectra Logic Corp
  Differential Revision:        https://reviews.freebsd.org/D11917

Modified:
  stable/11/tests/sys/netinet/fibs_test.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/netinet/fibs_test.sh
==============================================================================
--- stable/11/tests/sys/netinet/fibs_test.sh    Thu Sep  7 19:52:04 2017        
(r323283)
+++ stable/11/tests/sys/netinet/fibs_test.sh    Thu Sep  7 19:57:31 2017        
(r323284)
@@ -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"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to