Bug#487008: libdevice-cdio-perl: FTBFS: Failed test 'get_dtime(set_dtime())'
gregor herrmann
gregoa at debian.org
Thu Jun 19 19:31:46 UTC 2008
On Thu, 19 Jun 2008 10:40:26 +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> i386.
> > t/07.iso.............
> > # Failed test 'get_dtime(set_dtime())'
> > # at t/07.iso.t line 175.
> > # Looks like you failed 1 test of 14.
> > dubious
> > Test returned status 1 (wstat 256, 0x100)
> > DIED. FAILED test 14
> > Failed 1/14 tests, 92.86% okay
I can't reproduce this.
My guess is that there is some timezone problem or something like
that. The code in this test doesn't look very promising:
#v+
### FIXME Don't know why the discrepancy, but there is an hour
### difference, perhaps daylight savings time.
### Versions before 0.77 have other bugs.
if ($perliso9660::VERSION_NUM < 77) {
$new_tm[2] = $tm[2];
}
ok(is_eq(\@new_tm, \@tm), 'get_dtime(set_dtime())');
#if ($perliso9660::VERSION_NUM >= 77) {
# @tm = gmtime(0);
# my $ltime = perliso9660::set_ltime($tm[0], $tm[1], $tm[2], $tm[3], $tm[4],
# $tm[5]);
# ($bool, @new_tm) = perliso9660::get_ltime($ltime);
# ok(is_eq(\@new_tm, \@tm), 'get_ltime(set_ltime())');
#}
#v-
$perliso9660::VERSION_NUM is 78, BTW.
Does anyone else have any ideas?
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian gnu/linux user, admin & developer - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Van Morrison
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080619/f261bd62/attachment.pgp
More information about the pkg-perl-maintainers
mailing list