]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
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>
Tue, 18 May 2021 10:00:38 +0000 (12:00 +0200)
commit2b8399210bb00c868b4cce86d86fc68a5a0a9121
treeb4492b9b5ea167283f24b30e37bec35b3bffd1e9
parentad27abda399a103276a04c0a17f966c861a4e836
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")

(cherry picked from commit a26e895f3d803cc1f4ee1c2b33c61330998808b9)
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