[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4 1.4.19 with musl libc 1.2.3 fails test-posix_spawn_file_actions_a
From: |
Eric Blake |
Subject: |
Re: m4 1.4.19 with musl libc 1.2.3 fails test-posix_spawn_file_actions_addclose |
Date: |
Mon, 11 Apr 2022 09:51:18 -0500 |
User-agent: |
NeoMutt/20211029-6-a115bf |
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