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)
Sat, Nov 22, 9:27 PM
Unknown Object (File)
Sun, Nov 9, 5:34 AM
Unknown Object (File)
Fri, Oct 31, 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
Unknown Object (File)
Oct 10 2025, 4:36 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