Debian Patches

Status for node-miller-rabin/4.0.1-6

Patch Description Author Forwarded Bugs Origin Last update
increase-timeout.patch Increase test timeout Graham Inggs <ginggs@debian.org> not-needed debian 2019-01-04
fix-randomly-ftbfs.diff fix FTBFS randomly The failure happens randomly. Sometimes it happens, sometimes it does not,
so the only recipe to reproduce it is to try many times.
AFAIK, this being a primality test, I assume the outcome is either
"not prime" or "maybe prime", so the only way to test the test is by
giving a known prime and expect "maybe prime" as output.
.
So: Why is the test calling mr.test with 221, which is not prime? (221 = 13 x 17)
.
And why this fails randomly? Does the test perform random calculations
internally and it's therefore not deterministic? Even in such case I
don't see how a non-prime like 221 may help to catch obvious errors in
a test suite for a primality test.
Santiago Vila <sanvila@debian.org> no debian 2019-04-09

All known versions for source package 'node-miller-rabin'

Links