]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Only cleanup test dirs from the process that created them.
authorBo Borgerson <gigabo@gmail.com>
Mon, 28 Apr 2008 14:30:22 +0000 (10:30 -0400)
committerJim Meyering <meyering@redhat.com>
Mon, 28 Apr 2008 15:28:58 +0000 (17:28 +0200)
commit2f55920ffc37474ac75eadfbe5d987eb0ea248cc
tree7c324ac4c3da8a56b0343831f7872c22a9a1e955
parentd6ec836387bc245a17e65f337452c9809bfcdeec
Only cleanup test dirs from the process that created them.

* tests/CuTmpdir.pm (import): Use closure around current PID to avoid cleanup races.

Signed-off-by: Bo Borgerson <gigabo@gmail.com>
tests/CuTmpdir.pm