Skip Menu |

This queue is for tickets about the POE-Component-Client-MPD CPAN distribution.

Report information
The Basics
Id: 126902
Status: open
Priority: 0/
Queue: POE-Component-Client-MPD

People
Owner: Nobody in particular
Requestors: dam [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: dam [...] cpan.org
Subject: [PATCH] 04-cmds-kill.t: restart test MPD before exiting
In Debian we are currently applying the following patch to POE-Component-Client-MPD. We thought you might be interested in it too. Description: 04-cmds-kill.t: restart test MPD before exiting This works around the following chain of events that lead to test failure: . (0) At the start of 40-cmds-kill.t, a test MPD is started by Test::Corpus::Audio::MPD . (1) The test MPD is stopped by the test . (2) an END block in T:C:A:M tries to stop the test MPD, using system('mpd --kill') . (3) that system() sets $? to 256, perhaps because there is no MPD process running . (4) the $? is later detected by Test2::API as a failure and the test fails . What this patch does is to start a test MPD between (1) and (2) so that (3) diesn't happen. . Another way to fix this is perhaps to localize $? in (2) so that it does not fiddle with the test exit code. . Or maybe `mpd --kill` should not exit with 256 when there is no running MPD Author: Damyan Ivanov <dmn@debian.org> The patch is tracked in our Git repository at https://salsa.debian.org/perl-team/modules/packages/libpoe-component-client-mpd-perl/raw/master/debian/patches/kill-test.patch Thanks for considering, Damyan Ivanov, Debian Perl Group
Here's the patch.

Message body is not shown because sender requested not to inline it.

On Sat Aug 18 08:01:34 2018, DAM wrote: Show quoted text
> Here's the patch.
Thanks. Unfortunately I don't have that much free time those days. Do you want comaint on the dist?