]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Accelerate tests
authorkp <kp@FreeBSD.org>
Thu, 7 Mar 2019 11:09:29 +0000 (11:09 +0000)
committerkp <kp@FreeBSD.org>
Thu, 7 Mar 2019 11:09:29 +0000 (11:09 +0000)
commitc225ffd5c2e30a623c6e9b7d8cf1e10fa6e70054
tree01c4faaaa93104826924f77571d5ec94fda86526
parent29e838d661a4dce393d3cb3a8544bd0b76bd3e85
pf tests: Accelerate tests

Make the tests run slightly faster by having pft_ping.py end the capture
of packets as soon as it sees the expected packet, rather than
continuing to sniff.

MFC after: 2 weeks
tests/sys/netpfil/pf/pft_ping.py