Skip Menu |

This queue is for tickets about the POSIX-1003 CPAN distribution.

Report information
The Basics
Id: 123109
Status: open
Priority: 0/
Queue: POSIX-1003

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: t/26time.t started to fail
My smokers started to report the following new failure: ... Usage: POSIX::localtime(time) at t/26time.t line 13. # Looks like your test exited with 255 just after 1. t/26time.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests ... It seems that the failure happens with the newest Test::More. It also seems that the failure does not happen anymore with the latest devel version 0.99_07.
On Fri Sep 22 17:27:51 2017, SREZIC wrote: Show quoted text
> > It seems that the failure happens with the newest Test::More. > > It also seems that the failure does not happen anymore with the latest > devel version 0.99_07.
t/26time.t fails due to the use of localtime without any args whereas the POSIX variant expects an epoch time, e.g. localtime(time). BTW: POSIX::1003 should probably export the time function as well if it wants to provide total parity.