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)
Wed, Aug 12, 8:26 PM
Unknown Object (File)
Wed, Aug 12, 7:59 PM
Unknown Object (File)
Sun, Aug 9, 5:26 PM
Unknown Object (File)
Sat, Aug 8, 7:05 PM
Unknown Object (File)
Sat, Aug 8, 1:48 PM
Unknown Object (File)
Sat, Aug 8, 2:58 AM
Unknown Object (File)
Sat, Jul 25, 1:35 PM
Unknown Object (File)
Apr 19 2026, 6:33 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