Re: m4 1.4.19 with musl libc 1.2.3 fails test-posix_spawn_file_actions_addclose
Eric Blake <[email protected]> Mon, 11 Apr 2022 09:51:18 -0500
| Newsgroups | gmane.comp.gnu.m4.bugs,gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <[email protected]> |
Forwarding to gnulib, which owns this test. On Mon, Apr 11, 2022 at 12:15:47PM +0200, Natanael Copa wrote: > ncopa-desktop:~/aports/main/m4/src/m4-1.4.19 (master)$ cat tests/test-suite.log > ========================================= > GNU M4 1.4.19: tests/test-suite.log > ========================================= > > # TOTAL: 267 > # PASS: 235 > # SKIP: 31 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > ... > > FAIL: test-posix_spawn_file_actions_addclose > ============================================ > > test-posix_spawn_file_actions_addclose.c:62: assertion 'posix_spawn_file_actions_addclose (&actions, bad_fd) == EBADF' failed > Aborted > FAIL test-posix_spawn_file_actions_addclose (exit status: 134) > > Seems like the test assumes behavior that is not mandatory in POSIX, so technically, the test is wrong. > > -nc > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org