Environment: Ubuntu 24.04, uutils main branch (git commit c250584), GNU coreutils v9.4.
Steps to reproduce:
trap '' PIPE && ./target/debug/yes | :
What happens now: uutils yes terminates successfully with no output.
What I expected to happen: GNU yes terminates successfully but displays a message on stderr:
yes: standard output: Broken pipe
Notes: this is causing a few GNU test files to be skipped, including tests/env/env-signal-handler.sh, tests/seq/seq-epipe.sh, tests/tail/pipe-f.sh, and tests/printf/printf-surprise.sh. I doubt this difference in behavior is specific to the yes program, but that's the program used to decide whether to skip the tests.
Environment: Ubuntu 24.04, uutils main branch (git commit c250584), GNU coreutils v9.4.
Steps to reproduce:
What happens now: uutils
yesterminates successfully with no output.What I expected to happen: GNU
yesterminates successfully but displays a message on stderr:Notes: this is causing a few GNU test files to be skipped, including
tests/env/env-signal-handler.sh,tests/seq/seq-epipe.sh,tests/tail/pipe-f.sh, andtests/printf/printf-surprise.sh. I doubt this difference in behavior is specific to theyesprogram, but that's the program used to decide whether to skip the tests.