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
F152920385: D36561.id110605.diff
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
Unknown Object (File)
Fri, Mar 27, 11:44 AM
Unknown Object (File)
Thu, Mar 26, 9:32 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