Page MenuHomeFreeBSD

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

Authored by arichardson on Feb 23 2021, 6:08 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

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