help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 failed tests for libidn2-2.1.1


From: Dennis Clarke
Subject: Re: 3 failed tests for libidn2-2.1.1
Date: Mon, 13 May 2019 07:10:41 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0

On 5/13/19 6:12 AM, Tim Rühsen wrote:
I meant



beta$ diff -c tests/test-lookup.c.orig tests/test-lookup.c
*** tests/test-lookup.c.orig    Sat Jan 26 10:44:20 2019
--- tests/test-lookup.c Mon May 13 10:57:18 2019
***************
*** 862,868 ****

  static int _scan_file(const char *fname, int(*scan)(char *))
  {
!   FILE *fp = fopen(fname, "r");
    char *buf = NULL, *linep;
    size_t bufsize = 0;
    ssize_t buflen;
--- 862,868 ----

  static int _scan_file(const char *fname, int(*scan)(char *))
  {
!   FILE *fp = fopen(fname, "rb");
    char *buf = NULL, *linep;
    size_t bufsize = 0;
    ssize_t buflen;
beta$


.
.
.
gmake[4]: Entering directory '/usr/local/build/libidn2-2.1.1a_SunOS5.10_sparc64vii+.003/tests'
PASS: test-punycode
FAIL: test-lookup
PASS: test-register
PASS: test-strerror
PASS: test-tounicode

============================================================================
Testsuite summary for libidn2 2.1.1
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================

beta$ src/.libs/idn2 -d xn--fze90fu1iw8r.1 | od -t x1
idn2: decode: string encoding error
0000000
beta$


Not sure why I see that.

dc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]