$OpenBSD: patch-t_cddb_t,v 1.1 2005/11/26 21:19:18 steven Exp $
--- t/cddb.t.orig	Sat Nov 26 20:19:34 2005
+++ t/cddb.t	Sat Nov 26 20:55:04 2005
@@ -134,13 +134,13 @@ else {
   print "not ok 12\n";
 }
 
-### test looking up discs (one match)
+### test looking up discs (two matches)
 
 my @discs = $cddb->get_discs($id, $track_offsets, $total_seconds);
 
-(@discs == 1) || print 'not '; print "ok 13\n";
+(@discs == 2) || print 'not '; print "ok 13\n";
 
-my ($genre, $cddb_id, $title) = @{$discs[0]};
+my ($genre, $cddb_id, $title) = @{$discs[1]};
 ($genre   eq 'misc')      || print 'not '; print "ok 14\n";
 ($cddb_id eq '03015501')  || print 'not '; print "ok 15\n";
 
@@ -153,7 +153,7 @@ $cddb->disconnect();
 my @other_discs = $cddb->get_discs_by_toc(@toc);
 
 if (@other_discs) {
-  (@other_discs == 1) || print 'not '; print "ok 17\n";
+  (@other_discs == 2) || print 'not '; print "ok 17\n";
   ($other_discs[0]->[0] eq $discs[0]->[0]) || print 'not '; print "ok 18\n";
   ($other_discs[0]->[1] eq $discs[0]->[1]) || print 'not '; print "ok 19\n";
   ($other_discs[0]->[2] eq $discs[0]->[2]) || print 'not '; print "ok 20\n";
