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)



Subject: option parsing failed: Unknown option --create-db
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.