Red Hat Bugzilla – Bug 970567
perl-5.18: t/op/coreamp.t sometimes fails
Last modified: 2013-09-22 19:57:51 EDT
There is a bug in t/op/coreamp.t tests that fails randomly. Fixed with this upstream patch:
Author: Father Chrysostomos <email@example.com>
Date: Sun Jun 2 00:36:33 2013 -0700
[perl #118237] Fix coreamp.t’s rand test
when rand returns something really small that does not
begin with 0, such as 2.90736361456823e-05.
diff --git a/t/op/coreamp.t b/t/op/coreamp.t
index c1f7181..fe7c741 100644
@@ -637,7 +637,7 @@ test_proto 'quotemeta', '$', '\$';
$tests += 3;
-like &CORE::rand, qr/^0[.\d+-e]*\z/, '&rand';
+like &CORE::rand, qr/^[.\d+-e]*\z/, '&rand';
unlike join(" ", &CORE::rand), qr/ /, '&rand in list context';
&cmp_ok(&CORE::rand(78), qw '< 78', '&rand with 1 arg');
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
perl-5.18.1-288.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.18.1-288.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
perl-5.18.1-288.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.