Skip Menu |
 

This queue is for tickets about the Test-Corpus-Audio-MPD CPAN distribution.

Report information
The Basics
Id: 66262
Status: resolved
Priority: 0/
Queue: Test-Corpus-Audio-MPD

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

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

Attachments


Subject: option parsing failed: Unknown option --create-db
Download (untitled) / with headers
text/plain 261b
Since mpd v0.16, the --create-db and --no-create-db options have been removed, therefore Test::Corpus::Audio::MPD fails to start mpd with the error: 'option parsing failed: Unknown option --create-db'. I've attached a patch that should solve the issue. Cheers
Subject: remove-create-db-option.patch
Since mpd v0.16, the --create-db and --no-create-db options have been removed, therefore Test::Corpus::Audio::MPD fails to start mpd with the error: 'option parsing failed: Unknown option --create-db' --- a/lib/Test/Corpus/Audio/MPD.pm +++ b/lib/Test/Corpus/Audio/MPD.pm @@ -94,7 +94,7 @@ sub start_test_mpd { - my $output = qx{ mpd --create-db $CONFIG 2>&1 }; + my $output = qx{ mpd $CONFIG 2>&1 }; die "could not start fake mpd: $output\n" if $output; sleep 1; # wait 1 second to let mpd start. return 1;
thank you for the report. Test-Corpus-Audio-MPD-1.110600 on its way with the fix.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.