uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.82k stars 1.28k forks source link

cat: /dev/zero: EPIPE: Broken pipe when running fish shell tests #6876

Open jm355 opened 1 week ago

jm355 commented 1 week ago

When I try to build fish-git and use coreutils-hybrid which replaces some of the coreutils with stable uutils, the pipestatus.fish test fails due to a broken pipe. It works fine with regular coreutils though, so I think it's an issue with one of the uutils binaries

89/184 Test  #89: pipestatus.fish...........................***Failed    0.17 sec
Testing file checks/pipestatus.fish ... Failure:

  There were no remaining checks left to match stderr:9:
    cat: /dev/zero: EPIPE: Broken pipe

  Context:
    [...] from line 196 (stderr:6):
    warning: Path '/not' does not exist
    warning: An error occurred while redirecting file '/not/a/valid/path'
    warning: Path '/not' does not exist
    cat: /dev/zero: EPIPE: Broken pipe <= no more checks

  when running command:
    ../test/root/bin/fish checks/pipestatus.fish
jm355 commented 1 week ago

Possible related to some of these? https://github.com/uutils/coreutils/issues?q=is%3Aissue%20state%3Aopen%20pipe