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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: paul@xxxxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux