Subject: | alarm treats prior negative alarms as undef |
perl 5.23.1 has changed the behavior of alarm with negative values. From perl5231delta.pod:
* "alarm()" and "sleep()" will now warn if the argument is a negative
number and return undef. Previously they would pass the negative
value to the underlying C function which may have set up a timer
with a surprising value.
This change causes the t/native.t test to fail:
# Failed test 'alarm treats prior negative alarms as undef'
# at t/native.t line 56.
# got: '0'
# expected: undef
# Looks like you failed 1 test of 21.
t/native.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests