]> Sergey Matveev's repositories - public-inbox.git/commit
t/httpd-unix: eliminate some busy waits
authorEric Wong <e@80x24.org>
Mon, 12 Dec 2022 04:22:01 +0000 (04:22 +0000)
committerEric Wong <e@80x24.org>
Mon, 12 Dec 2022 20:57:46 +0000 (20:57 +0000)
commit5f9baf72510643f3865223b5fe4ddb8768a3996c
treedd9b258112d070ebf4ca64e890661c8d84c42d16
parentcf4cbaac260b5c24ed7173c39e0e18c0f0deb89f
t/httpd-unix: eliminate some busy waits

A small step towards making our test suite as sleep-less as
possible.  We can use FIFOs to coordinate processes in a few
places, while other spots can take advantage of disabling
FD_CLOEXEC to further eliminate back-and-forth traffic between
processes.

This speeds up t/httpd-unix.t by ~20 ms on my system.
t/httpd-corner.psgi
t/httpd-unix.t