Page MenuHomeFreeBSD

tests/sys/netpfil/pf: Add missing python3 requirements
ClosedPublic

Authored by arichardson on Feb 23 2021, 6:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 7:23 AM
Unknown Object (File)
Tue, Apr 15, 9:02 AM
Unknown Object (File)
Sun, Apr 13, 5:43 PM
Unknown Object (File)
Sat, Apr 12, 4:27 PM
Unknown Object (File)
Sun, Apr 6, 6:30 PM
Unknown Object (File)
Fri, Apr 4, 2:02 AM
Unknown Object (File)
Mar 11 2025, 11:52 PM
Unknown Object (File)
Feb 25 2025, 10:31 AM

Details

Summary

This also fixes a typo in the dup test that caused the head function to
not be called.

Test Plan

tests are now skipped instead of failing in my images without python3.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tests/sys/netpfil/pf/dup.sh
37

That wants to be 'scapy', Scapy requires python, but python doesn't require Scapy.

apply suggested simplification

Thanks for the fixes.

This revision is now accepted and ready to land.Feb 23 2021, 6:59 PM