Page MenuHomeFreeBSD

pf tests: require scapy for ether:short_pkt
ClosedPublic

Authored by mhorne on Sep 14 2022, 2:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 22, 11:24 AM
Unknown Object (File)
Nov 27 2025, 11:33 PM
Unknown Object (File)
Nov 22 2025, 9:27 PM
Unknown Object (File)
Nov 9 2025, 5:34 AM
Unknown Object (File)
Oct 31 2025, 9:51 PM
Unknown Object (File)
Oct 25 2025, 4:43 AM
Unknown Object (File)
Oct 24 2025, 7:12 PM
Unknown Object (File)
Oct 10 2025, 4:36 PM

Details

Summary

The pft_ether.py script requires both python and scapy to be installed.
Check for this so we properly skip the test when it is unavailable.

Fixes: 07ffa50ba075d ("pf tests: test short packets")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable