Subject: | Won't install because of failed tests |
Hi,
There seem to be some issues with the CDDB tests in 1.00.
The following patch enables them to pass OK, but I suspect this is not
the answer - you appear to be using several CDDB files in the tests, but
the distribution only has one.
Anyway, here's the patch:
--- MP3-Tag-1.00.orig/t/mp3tag.t 2008-10-24 02:25:42.000000000 +0100
+++ MP3-Tag-1.00/t/mp3tag.t 2009-05-01 23:39:50.178952232 +0100
@@ -215,7 +216,7 @@
# print STDERR "# cT=", $mp3->comment_track, "\n";
ok($mp3 && $mp3->comment_track eq 'comment8', "comment_track with
removal");
-ok(MP3::Tag->config('cddb_files', qw(cddb.tmp1 cddb.tmp cddb.tmp2)),
"Configuring2 list of cddb_files");
+ok(MP3::Tag->config('cddb_files', qw(cddb.tm)), "Configuring2 list of
cddb_files");
open NH, '>audio07.mp3' or warn;
close NH;
@@ -225,7 +227,7 @@
ok($mp3 && $mp3->album eq 'Ancient Voices', "Album via CDDB_File");
ok($mp3 && $mp3->year eq '1234', "Year via CDDB_File");
ok($mp3 && $mp3->comment eq 'comment7; Fake entry', "Comment via
CDDB_File");
-ok($mp3 && $mp3->genre eq 'A special genre', "Genre via CDDB_File");
+ok($mp3 && $mp3->genre eq 'Vocal', "Genre via CDDB_File");
ok($mp3 && $mp3->track eq '7', "Track no with CDDB_File");