Skip Menu |
 

This queue is for tickets about the perl-ldap CPAN distribution.

Report information
The Basics
Id: 94357
Status: resolved
Priority: 0/
Queue: perl-ldap

People
Owner: Nobody in particular
Requestors: steffen.netz [...] ipms.fraunhofer.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.62



Subject: 08time fail
Date: Tue, 1 Apr 2014 07:43:06 +0000
To: "'bug-perl-ldap [...] rt.cpan.org'" <bug-perl-ldap [...] rt.cpan.org>
From: "Netz, Steffen" <steffen.netz [...] ipms.fraunhofer.de>
Download (untitled) / with headers
text/plain 1.2k
Hello, this is the output of test: Show quoted text
> prove t/08time.t
t/08time.t .. 1/40 # Failed test 'generalizedTime_to_time('19691231235959.9Z') should yield -0.1' # at t/08time.t line 44. # got: '0.1' # expected: '-0.1' # Failed test 'time_to_generalizedTime('-0.1') should yield 19691231235959.9Z' # at t/08time.t line 44. # got: '19700101000000.1Z' # expected: '19691231235959.9Z' # Failed test 'time_to_generalizedTime('-33358996800') should yield 09121123120000Z' # at t/08time.t line 44. # got: '19011213204552Z' # expected: '09121123120000Z' # Looks like you failed 3 tests of 40. t/08time.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/40 subtests Test Summary Report ------------------- t/08time.t (Wstat: 768 Tests: 40 Failed: 3) Failed tests: 3, 17, 22 Non-zero exit status: 3 Files=1, Tests=40, 1 wallclock secs ( 0.31 usr 0.09 sys + 0.45 cusr 0.15 csys = 1.00 CPU) Result: FAIL My version: perl-ldap-0.61 This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread-multi SunOS suna20 5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-4 Solaris Regards Steffen Netz -- Steffen Netz Fraunhofer Institute for Photonic Microsystems Maria-Reiche-Str.2, D-01109 Dresden Phone: +49(0)351/8823-212 Fax: -266 http://www.ipms.fraunhofer.de
Download (untitled) / with headers
text/plain 1.1k
Hi, On Tue Apr 01 03:43:17 2014, steffen.netz@ipms.fraunhofer.de wrote: Show quoted text
> this is the output of test:
> > prove t/08time.t
> t/08time.t .. 1/40 > # Failed test 'generalizedTime_to_time('19691231235959.9Z') should > yield -0.1' > # at t/08time.t line 44. > # got: '0.1' > # expected: '-0.1' > > # Failed test 'time_to_generalizedTime('-0.1') should yield > 19691231235959.9Z' > # at t/08time.t line 44. > # got: '19700101000000.1Z' > # expected: '19691231235959.9Z' > > # Failed test 'time_to_generalizedTime('-33358996800') should yield > 09121123120000Z' > # at t/08time.t line 44. > # got: '19011213204552Z' > # expected: '09121123120000Z' > # Looks like you failed 3 tests of 40. > t/08time.t .. Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/40 subtests > > My version: > This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread- > multi
THanks for reporting the bug. I noticed the issues with negative time values that Perl versions < 5.12.0 have to late. I will adapt the tests dependeing on Per'ls version in the next release and mention the issues too. Best Peter


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.