tests: Only log critical errors from scapy
authorKristof Provost <kp@FreeBSD.org>
Wed, 12 May 2021 17:13:40 +0000 (19:13 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 12 May 2021 18:54:30 +0000 (20:54 +0200)
commita26e895f3d803cc1f4ee1c2b33c61330998808b9
tree2c644b488c661c3f09d2957bd5214bb74a7bcc51
parent98454e3f825e086e47d107e7ff4ddf4239285dbe
tests: Only log critical errors from scapy

Since 2.4.5 scapy started issuing warnings about a few different
configurations during our tests. These are harmless, but they generate
stderr output, which upsets atf_check.

Configure scapy to only log critical errors (and thus not warnings) to
fix these tests.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
31 files changed:
tests/sys/common/divert.py
tests/sys/common/sender.py
tests/sys/net/stp.py
tests/sys/netinet6/exthdr.py
tests/sys/netinet6/frag6/frag6_01.py
tests/sys/netinet6/frag6/frag6_02.py
tests/sys/netinet6/frag6/frag6_03.py
tests/sys/netinet6/frag6/frag6_04.py
tests/sys/netinet6/frag6/frag6_05.py
tests/sys/netinet6/frag6/frag6_06.py
tests/sys/netinet6/frag6/frag6_07.py
tests/sys/netinet6/frag6/frag6_08.py
tests/sys/netinet6/frag6/frag6_09.py
tests/sys/netinet6/frag6/frag6_10.py
tests/sys/netinet6/frag6/frag6_11.py
tests/sys/netinet6/frag6/frag6_12.py
tests/sys/netinet6/frag6/frag6_13.py
tests/sys/netinet6/frag6/frag6_14.py
tests/sys/netinet6/frag6/frag6_15.py
tests/sys/netinet6/frag6/frag6_16.py
tests/sys/netinet6/frag6/frag6_17.py
tests/sys/netinet6/frag6/frag6_18.py
tests/sys/netinet6/frag6/frag6_19.py
tests/sys/netinet6/frag6/frag6_20.py
tests/sys/netinet6/frag6/sniffer.py
tests/sys/netinet6/mld.py
tests/sys/netinet6/redirect.py
tests/sys/netinet6/scapyi386.py
tests/sys/netpfil/common/pft_ping.py
tests/sys/netpfil/pf/CVE-2019-5597.py
tests/sys/netpfil/pf/CVE-2019-5598.py