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
F146058047: D28903.diff
Fri, Feb 27, 10:52 AM
Unknown Object (File)
Thu, Feb 26, 10:14 AM
Unknown Object (File)
Thu, Feb 26, 6:05 AM
Unknown Object (File)
Sun, Feb 8, 6:04 AM
Unknown Object (File)
Sun, Feb 8, 2:14 AM
Unknown Object (File)
Sat, Feb 7, 5:22 PM
Unknown Object (File)
Sat, Jan 31, 3:05 PM
Unknown Object (File)
Sat, Jan 31, 1:26 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37329
Build 34218: arc lint + arc unit

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