Bruno Haible via GNU coreutils General Discussion <coreutils@gnu.org>
writes:
> * clang with ASAN and UBSAN sanitizers
>
> FAIL: tests/misc/warning-errors
> ===============================
This is similar to a previous issue [1]. The 'closeout' module won't
close standard error with ASAN enabled, otherwise we wouldn't be able to
see the errors. This also means we don't see the write error in this
case, which would change the exit status to 1.
I've attached a patch that fixes it. I'll hold off pushing in case
PƔdraig has a better idea.
Collin
[1] https://lists.gnu.org/archive/html/coreutils/2025-12/msg00006.html