]> Sergey Matveev's repositories - public-inbox.git/commit
t/httpd-unix.t: stop tail(1) before stopping server
authorEric Wong <e@80x24.org>
Mon, 2 Jan 2023 08:18:47 +0000 (08:18 +0000)
committerEric Wong <e@80x24.org>
Mon, 2 Jan 2023 09:02:49 +0000 (09:02 +0000)
commitc88a8c39c987c16e71ae69536ba40d7a30dabd7f
treec222347764b62ea415f05131910f2d934200aacc
parentc4b882036d272cc276cbf3a0d108244893c3c8af
t/httpd-unix.t: stop tail(1) before stopping server

When using the `TAIL' environment, the tail(1) process
inherits the non-FD_CLOEXEC pipe we introduced in commit
5f9baf725106 (t/httpd-unix: eliminate some busy waits, 2022-12-12).
We must ensure that pipe is gone before waiting on -httpd's
death by destroying the tail(1) process, first.
t/httpd-unix.t