Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 18:51:06 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 80fe5ac55561 - stable/13 - pf tests: Only log critical errors from scapy
Message-ID:  <202106021851.152Ip6Fh038304@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=80fe5ac555615f4470c9dda4ab6ae48cade00e9c

commit 80fe5ac555615f4470c9dda4ab6ae48cade00e9c
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-05-26 11:07:50 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-06-02 18:50:56 +0000

    pf tests: Only log critical errors from scapy
    
    See a26e895f3d803cc1f4ee1c2b33c61330998808b9. Silence these new tests as
    well.
    
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 9d0bc96ef8c0288c05a627b3961edd2da046c5c9)
---
 tests/sys/netpfil/pf/fragcommon.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/netpfil/pf/fragcommon.py b/tests/sys/netpfil/pf/fragcommon.py
index 2bcd3989b420..1ca3129e6057 100644
--- a/tests/sys/netpfil/pf/fragcommon.py
+++ b/tests/sys/netpfil/pf/fragcommon.py
@@ -27,6 +27,8 @@
 
 import argparse
 import os
+import logging
+logging.getLogger("scapy").setLevel(logging.CRITICAL)
 import scapy.all as sp
 import sys
 import time



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106021851.152Ip6Fh038304>