From: | gregoa [...] cpan.org |
Subject: | [PATCH] Fix a race condition in the test suite waiting for daemon log |
In Debian we are currently applying the following patch to
Daemon-Generic.
We thought you might be interested in it too.
From 96209b5ba3df009a495da31bee8e2540c3365ec5 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sat, 17 Sep 2016 21:16:16 +0300
Subject: [PATCH] Fix a race condition in the test suite waiting for daemon log
output
There's a window where the daemon has created a log file but not yet
written anything into it. Wait for the file to become nonempty before
reading it to make sure we're past that window.
Bug-Debian: https://bugs.debian.org/834960
The patch is tracked in our Git repository at
https://anonscm.debian.org/cgit/pkg-perl/packages/libdaemon-generic-perl.git/plain/debian/patches/0001-Fix-a-race-condition-in-the-test-suite-waiting-for-d.patch
Thanks for considering,
gregor herrmann,
Debian Perl Group