git: f96f838114a2 - main - pf tests: frag6.py:TestFrag6_RouteTo::test_too_big requires scapy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 21:06:57 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=f96f838114a223c0399d23240555099586fbf97a
commit f96f838114a223c0399d23240555099586fbf97a
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-06-09 13:23:11 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-06-09 19:38:54 +0000
pf tests: frag6.py:TestFrag6_RouteTo::test_too_big requires scapy
Mark it as such so we skip rather than fail if scapy is not installed.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
tests/sys/netpfil/pf/frag6.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/sys/netpfil/pf/frag6.py b/tests/sys/netpfil/pf/frag6.py
index c8b756f8274b..26ae7af7c90c 100644
--- a/tests/sys/netpfil/pf/frag6.py
+++ b/tests/sys/netpfil/pf/frag6.py
@@ -244,6 +244,8 @@ class TestFrag6_RouteTo(VnetTestTemplate):
def vnet3_handler(self, vnet):
pass
+ @pytest.mark.require_user("root")
+ @pytest.mark.require_progs(["scapy"])
def test_too_big(self):
ToolsHelper.print_output("/sbin/route add -6 default 2001:db8::2")