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)
Apr 19 2026, 6:33 PM
Unknown Object (File)
Apr 18 2026, 9:33 AM
Unknown Object (File)
Apr 18 2026, 1:37 AM
Unknown Object (File)
Apr 16 2026, 9:32 AM
Unknown Object (File)
Apr 11 2026, 10:12 AM
Unknown Object (File)
Apr 7 2026, 9:05 AM
Unknown Object (File)
Apr 4 2026, 11:48 PM
Unknown Object (File)
Mar 28 2026, 3:13 AM

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