1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

test/tail: ignore pipe errors when tail -n 0, since it doesn't read

anything
This commit is contained in:
Niyaz Nigmatullin 2022-08-08 22:28:45 +03:00
parent 5b2313de78
commit 04df57ebd4

View file

@ -1011,6 +1011,7 @@ fn test_positive_zero_lines() {
ts.ucmd()
.args(&["-n", "0"])
.pipe_in("a\nb\nc\nd\ne\n")
.ignore_stdin_write_error()
.succeeds()
.no_stderr()
.no_stdout();