GnuPG 2.0.10 - t-convert test fails on ppc and s390

Werner Koch wk at gnupg.org
Mon Jan 19 11:25:05 CET 2009


On Mon, 19 Jan 2009 09:59, petr.uzel at suse.cz said:

> make[3]: Entering directory `/suse/puzel/packages/gnupg-2.0.10/common'
> t-convert.c:373: test 7 failed

Can you please add some debug output; in particular the fprintf line
below:

      tail = hex2str (tests[idx].hex, buffer, sizeof buffer, &count);
      if (tests[idx].str)
        {
          /* Good case test.  */
          if (!tail)
            fail (idx);
          else if (strcmp (tests[idx].str, buffer))
            fail (idx);
          else if (tail - tests[idx].hex != tests[idx].off)
            fail (idx);
          else if (strlen (buffer) != count)
            {
            fprintf (stderr, "buffer=-->%s<-- count=%d\n", 
                     buffer, (int)count);
            fail (idx);
            }


and run the test manually:

 cd common; ./t-convert


Or give me a test account on one of these machines.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-users mailing list