]> Sergey Matveev's repositories - public-inbox.git/commit
t/ds-leak: fix race
authorEric Wong <e@80x24.org>
Sat, 29 Jun 2019 06:34:40 +0000 (06:34 +0000)
committerEric Wong <e@80x24.org>
Sat, 29 Jun 2019 06:39:45 +0000 (06:39 +0000)
commitf2eaf5c929e6a3891b55195cbcaba99d16424933
tree5ff5952504714645d44591a11b69b6e73129434f
parent2b2a247c6cec99784e3e92bb025555c93f5701f3
t/ds-leak: fix race

We need to ensure we run lsof on the sleep(1) process, and not
the fork of ourselves before execve(2).  This race applies when
we're using the default pure-Perl spawn() implementation.
t/ds-leak.t