-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
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.