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)
Sun, Apr 19, 6:33 PM
Unknown Object (File)
Sat, Apr 18, 9:33 AM
Unknown Object (File)
Sat, Apr 18, 1:37 AM
Unknown Object (File)
Thu, Apr 16, 9:32 AM
Unknown Object (File)
Sat, Apr 11, 10:12 AM
Unknown Object (File)
Tue, Apr 7, 9:05 AM
Unknown Object (File)
Sat, Apr 4, 11:48 PM
Unknown Object (File)
Sat, Mar 28, 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 Passed
Unit
No Test Coverage
Build Status
Buildable 47376
Build 44263: arc lint + arc unit