View Issue Details

IDProjectCategoryView StatusLast Update
0000295fileGeneralpublic2021-10-28 16:20
Reportereliz Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformMS-WindowsOSXPOS VersionSP3
Product Version5.41 
Summary0000295: pgp-binary-key-v4-dsa test fails due to incorrect expected result
DescriptionThis test fails:

     Running test: ../tests/pgp-binary-key-v4-dsa.testfile
     ../tests/pgp-binary-key-v4-dsa.testfile: OpenPGP Public Key Version 4, Created Mon Apr 07 22:23:01 1997, DSA (1024 bits); User ID; Signature; OpenPGP Certificate
     test.exe: ERROR: result was (len 120)
     OpenPGP Public Key Version 4, Created Mon Apr 07 22:23:01 1997, DSA (1024 bits); User ID; Signature; OpenPGP Certificate
     expected (len 121)

This is because the expected result says "Mon Apr 7" instead of "Mon Apr 07" (2 spaces instead of a space an zero). Correcting the expected result makes the test succeed.
Steps To Reproducemake check
TagsNo tags attached.

Activities

eliz

2021-10-24 05:56

reporter   ~0003650

By the way, this is for version 5.41, not 5.40; but the bug tracker doesn't allow to select 5.41 as the version for the bug.

christos

2021-10-28 15:43

manager   ~0003658

Your libc is broken: file(1) just uses ctime/asctime: https://pubs.opengroup.org/onlinepubs/9699919799/

christos

2021-10-28 15:47

manager   ~0003659

Added 5.41 to the list of releases.

eliz

2021-10-28 16:20

reporter   ~0003662

That broken libc is MSVCRT. the C runtime used by MinGW builds on MS-Windows. So I guess this means that test will fail for any MinGW build, unless the expected results are manually "fixed".

Issue History

Date Modified Username Field Change
2021-10-23 17:31 eliz New Issue
2021-10-24 05:56 eliz Note Added: 0003650
2021-10-28 15:39 christos Assigned To => christos
2021-10-28 15:39 christos Status new => assigned
2021-10-28 15:43 christos Status assigned => feedback
2021-10-28 15:43 christos Note Added: 0003658
2021-10-28 15:47 christos Note Added: 0003659
2021-10-28 15:47 christos Product Version 5.40 => 5.41
2021-10-28 16:20 eliz Note Added: 0003662
2021-10-28 16:20 eliz Status feedback => assigned