On 17/08/2026 21:21, Bruno Haible via GNU coreutils General Discussion wrote:
The new test tests/env/env0-from fails on macOS, says the CI. Here's the log
file:


FAIL: tests/env/env0-from
=========================

+ printf 'A=file1\0opaque\0\0A=file2\0B=new\0'
+ printf 'A=file2\0opaque\0\0B=new\0'
+ LC_ALL=C
+ sort -z exp
+ env -i A=old src/env --env0-from=mixed -0
+ LC_ALL=C
+ sort -z all
+ compare exp-sorted out

+ diff -u exp-sorted out
Binary files exp-sorted and out differ
+ fail=1

I can't repro on cfarm104 (over ssh),
as that setup does not have __CF_USER_TEXT_ENCODING in the environment,
but I'm guessing that's the issue.

I've changed things to use the technique we already used in env-null.sh.
I.e. use env(1) to generate the environment for comparison,
rather than creating a hardcoded environment to compare.

I've pushed that now:
https://github.com/coreutils/coreutils/commit/fce42ec79

cheers,
Padraig

Reply via email to