Re: [PATCH 2/2] tests: commandtest: Make 'test4' checking daemonization more reliable

2020-07-23 Thread Ján Tomko
On a Tuesday in 2020, Peter Krempa wrote: The 'commandhelper' checks effectively whether the parent process is still around to report whether it was daemonized or not. This creates a unlikely race condition in cases when we do actually daemonize the process as the intermediate process used for t

[PATCH 2/2] tests: commandtest: Make 'test4' checking daemonization more reliable

2020-07-21 Thread Peter Krempa
The 'commandhelper' checks effectively whether the parent process is still around to report whether it was daemonized or not. This creates a unlikely race condition in cases when we do actually daemonize the process as the intermediate process used for the daemonization might not have terminated y