HomeFreeBSD

daemon: truncate the pidfile when we're waiting to restart child

Description

daemon: truncate the pidfile when we're waiting to restart child

We need to be able to test some more restart behavior that depends on
knowing specifically where we're at (inside the event loop or outside of
the event loop). Truncate the pidfile until the process is restarted to
give the test a clean marker rather than having to add arbitrary delays
and hoping for the best.

Reviewed by: des, markj
Differential Revision: https://reviews.freebsd.org/D47003

Details

Provenance
kevansAuthored on Nov 19 2024, 7:51 PM
Reviewer
des
Differential Revision
D47003: daemon: truncate the pidfile when we're waiting to restart child
Parents
rGce284dded5d5: arm64: Fix comparing ID register fields
Branches
Unknown
Tags
Unknown