[Bug 1158379] New: perl-Crypt-Random-1.25-20.fc22 FTBFS: t/generator.t test fails sometimes

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 29 09:24:55 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1158379

            Bug ID: 1158379
           Summary: perl-Crypt-Random-1.25-20.fc22 FTBFS: t/generator.t
                    test fails sometimes
           Product: Fedora
           Version: rawhide
         Component: perl-Crypt-Random
          Assignee: paul at city-fan.org
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: paul at city-fan.org, perl-devel at lists.fedoraproject.org



perl-Crypt-Random-1.25-20.fc22 fails to build in F22 because a test fails
sometimes:

+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
# Test 9 got: "0" (t/generator.t at line 26 fail #2)
#   Expected: "1"
#  t/generator.t line 26 is:     ok($x != $y, 1);
t/generator.t ........ 
Failed 1/18 subtests 

The test actually compares two random numbers and fails if the numbers are
equalled. It's natural that you can sometimes get two same numbers from a
random number generator. The test is faulty by design.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pz3RUxZc6X&a=cc_unsubscribe



More information about the perl-devel mailing list