[gnutls-devel] GnuTLS | Re-introduce topendir on Windows with Unicode support (!931)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Feb 19 14:51:02 CET 2019


@chouquette There is an error in tests/conv-utf-8:

https://gitlab.com/gnutls/gnutls/-/jobs/163792822/artifacts/file/build/tests/conv-utf8.log

```
[==========] Running 11 test(s).
[ RUN      ] check_utf8_fail1
[       OK ] check_utf8_fail1
[ RUN      ] check_utf8_fail2
[       OK ] check_utf8_fail2
[ RUN      ] check_utf16_fail1
[       OK ] check_utf16_fail1
[ RUN      ] check_utf8_ok1
[  ERROR   ] --- difference at offset 0 0x00 0x61
difference at offset 1 0x61 0x00
difference at offset 2 0x00 0x62
difference at offset 3 0x62 0x00
difference at offset 4 0x00 0x63
difference at offset 5 0x63 0x00
difference at offset 6 0x00 0x64
difference at offset 7 0x64 0x00
8 bytes of 0x7ffefc50 and 0x7f04f3a8 differ
[   LINE   ] --- ../../tests/conv-utf8.c:101: error: Failure!
got:      6100620063006400
expected: 0061006200630064
[  FAILED  ] check_utf8_ok1
[ RUN      ] check_utf8_ok2
[  ERROR   ] --- difference at offset 0 0x30 0xffffffe6
difference at offset 1 0xffffffe6 0x30
difference at offset 2 0x30 0xfffffffc
difference at offset 3 0xfffffffc 0x30
difference at offset 4 0x30 0xffffffb6
difference at offset 5 0xffffffb6 0x30
difference at offset 6 0x30 0xfffffffc
difference at offset 7 0xfffffffc 0x30
difference at offset 8 0x52 0x25
difference at offset 9 0x25 0x52
difference at offset 10 0x30 0xffffffb5
difference at offset 11 0xffffffb5 0x30
difference at offset 12 0x30 0xffffffa4
difference at offset 13 0xffffffa4 0x30
difference at offset 14 0x30 0xffffffc8
difference at offset 15 0xffffffc8 0x30
...
16 bytes of 0x7ffefb2c and 0x7f0618e0 differ
[   LINE   ] --- ../../tests/conv-utf8.c:102: error: Failure!
got:      e630fc30b630fc302552b530a430c830
expected: 30e630fc30b630fc522530b530a430c8
[  FAILED  ] check_utf8_ok2
[ RUN      ] check_utf8_ok3
[  ERROR   ] --- difference at offset 0 0x7b 0xffffff80
difference at offset 1 0xffffff80 0x7b
difference at offset 2 0x4f 0x53
difference at offset 3 0x53 0x4f
difference at offset 4 0x4e 0x2d
difference at offset 5 0x2d 0x4e
difference at offset 6 0x65 0xffffff87
difference at offset 7 0xffffff87 0x65
8 bytes of 0x7ffefb10 and 0x7f061618 differ
[   LINE   ] --- ../../tests/conv-utf8.c:103: error: Failure!
got:      807b534f2d4e8765
expected: 7b804f534e2d6587
[  FAILED  ] check_utf8_ok3
[ RUN      ] check_utf8_ok4
[  ERROR   ] --- difference at offset 0 0x03 0xffffffa3
difference at offset 1 0xffffffa3 0x03
difference at offset 2 0x1f 0x72
difference at offset 3 0x72 0x1f
difference at offset 4 0x00 0x20
difference at offset 5 0x20 0x00
difference at offset 6 0x03 0xffffffb3
difference at offset 7 0xffffffb3 0x03
difference at offset 8 0x03 0xffffffbd
difference at offset 9 0xffffffbd 0x03
difference at offset 10 0x03 0xffffffc9
difference at offset 11 0xffffffc9 0x03
difference at offset 12 0x03 0xffffffc1
difference at offset 13 0xffffffc1 0x03
difference at offset 14 0x03 0xffffffaf
difference at offset 15 0xffffffaf 0x03
...
28 bytes of 0x7ffefc30 and 0x7f061eb0 differ
[   LINE   ] --- ../../tests/conv-utf8.c:104: error: Failure!
got:      a303721f2000b303bd03c903c103af03b603c9032000001fc003781f
expected: 03a31f72002003b303bd03c903c103af03b603c900201f0003c01f78
[  FAILED  ] check_utf8_ok4
[ RUN      ] check_utf16_ok1
[       OK ] check_utf16_ok1
[ RUN      ] check_utf16_ok2
[       OK ] check_utf16_ok2
[ RUN      ] check_utf16_ok3
[       OK ] check_utf16_ok3
[ RUN      ] check_utf16_ok4
[       OK ] check_utf16_ok4
[==========] 11 test(s) run.
[  PASSED  ] 7 test(s).
[  FAILED  ] 4 test(s), listed below:
[  FAILED  ] check_utf8_ok1
[  FAILED  ] check_utf8_ok2
[  FAILED  ] check_utf8_ok3
[  FAILED  ] check_utf8_ok4

 4 FAILED TEST(S)
FAIL conv-utf8 (exit status: 4)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/931#note_142733567
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190219/80fefbac/attachment-0001.html>


More information about the Gnutls-devel mailing list