Hello Bruno,
On Sat, Feb 24, 2018 at 01:01:07PM +0100, Bruno Haible wrote:
> On Alpine Linux 3.7.0, which uses musl libc, I see this test failure:
[...]
> diff --git a/lib/localename.c b/lib/localename.c
> index 2133cbc..74c8ee0 100644
> --- a/lib/localename.c
> +++ b/lib/localename.c
> @@ -40,7 +
Bernhard Voelker wrote:
> Now this test fails on GNU/Linux - at least here on openSUSE-Tumbleweed.
>
> FAIL: test-mbrtowc5.sh
> ==
>
> test-mbrtowc.c:114: assertion 'wc == btowc (c)' failed
> ./test-mbrtowc5.sh: line 4: 21847 Aborted (core dumped)
> LC_ALL=C .
On 02/24/2018 12:02 PM, Bruno Haible wrote:
On Alpine Linux 3.7.0, which uses musl libc, this test fails:
FAIL: test-mbrtowc5.sh
==
../../gltests/test-mbrtowc.c:106: assertion 'wc == c' failed
Aborted
FAIL test-mbrtowc5.sh (exit status: 134)
The issue is that in the C local
On Alpine Linux 3.7.0, which uses musl libc, I see these test failures in
libunistring:
FAIL: test-striconveha
==
../../tests/test-striconveha.c:327: assertion 'retval == 0' failed
FAIL test-striconveha (exit status: 134)
FAIL: test-u16-conv-from-enc
=
On Alpine Linux 3.7.0, which uses musl libc, I see this test failure:
FAIL: test-localename
=
../../gltests/test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") ==
0' failed
FAIL test-localename (exit status: 134)
This patch fixes it.
2018-02-24 Bruno Haible
On Alpine Linux 3.7.0, which uses musl libc, this test fails:
FAIL: test-mbrtowc5.sh
==
../../gltests/test-mbrtowc.c:106: assertion 'wc == c' failed
Aborted
FAIL test-mbrtowc5.sh (exit status: 134)
The issue is that in the C locale, musl uses the encoding that maps
0x00..0x
glibc ptsname_r sets errno when it fails, but this is not specified in
https://www.gnu.org/software/libc/manual/html_node/Allocation.html
and musl libc does not do the same thing. This leads to a test failure
of 'test-ptsname_r' on Alpine Linux 3.7.0.
This patch fixes it.
2018-02-24 Bruno Haibl
Hi,
On Alpine Linux 3.7.0, which uses musl libc, the gnulib test 'test-getopt-posix'
fails. To me, this looks like a POSIX compliance bug of musl.
Find attached a reduced test case.
$ gcc foo.c -Wall
$ ./a.out
foo.c:134: assertion 'options[0] == ':' || ((options[0] == '-' || options[0] ==