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: p...@city-fan.org
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: p...@city-fan.org, perl-devel@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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to