]> granicus.if.org Git - haveged/commitdiff
[PATCH] Output some progress during CUSUM and RANDOM EXCURSION test
authorSven Hartge <sven@svenhartge.de>
Tue, 10 Apr 2012 19:42:13 +0000 (21:42 +0200)
committerNicolas Braud-Santoni <nicolas@braud-santoni.eu>
Wed, 14 Aug 2019 14:18:16 +0000 (16:18 +0200)
Forwarded: by email to <gary@issiweb.com>, CC to <lunar@debian.org> on 2016-06-27

Those tests takes enough time on mips to outbound the allowed 5 minutes of
inactivity. So let's output a little more progress messages as a workaround.

Gbp-Pq: Name 0002-Output-some-progress-during-CUSUM-and-RANDOM-EXCURSI.patch

nist/packtest.c

index 9439607a7110456ab159f1f818221b5f5ee3fa6f..879cd736c255af20460821249770136e867f1141 100644 (file)
@@ -557,6 +557,7 @@ PackTestL (int *ARRAY, int ArraySize, char *C)
   for (i = 4; i < ArraySize; i = (i << 1))
     {
       int inter;
+      fprintf (stderr, "\t\t   ArraySize: %d\n", i);
       inter = MOD (ARRAY[ArraySize - i], ArraySize - i);
       if (failure >= 8)
        {
@@ -600,6 +601,7 @@ PackTestL (int *ARRAY, int ArraySize, char *C)
   for (i = 0; i < 8; i++)
     {
       int index;
+      fprintf (stderr, "\t\t      Slice number: %d\n", i);
       index = (ArraySize / 8) * i;
       if (ArraySize > 262144)
        index = index + (MOD (ARRAY[index], (ArraySize / 8) - 32768));