CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2016/10/20 13:16:05
Modified files: regress/sys/net/pf_forward: ping6_mtu.py regress/sys/net/pf_fragment: frag.py frag6.py frag6_cutnew.py frag6_cutold.py frag6_dropnew.py frag6_dropold.py frag6_ext.py frag_cutnew.py frag_cutold.py frag_dropnew.py frag_dropold.py ping6_mtu_1300.py regress/sys/net/pf_state: challenge_ack.py Log message: By removing all the sleeps I created a race in the pf tests. The packet was sent and its reply received before the sniffer was up and running. So sleep a second after starting the sniffer thread but before sending the packet. With pf_forward 0m51.54s, pf_fragment 1m33.59s, pf_state 0m03.64s the test are still faster than with forking.