mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #3796 from niyaznigmatullin/fix_broken_pipe_test_positive_zero_lines
test/tail: ignore broken pipe for tail -n 0
This commit is contained in:
commit
ab791b6c0b
1 changed files with 1 additions and 0 deletions
|
@ -1011,6 +1011,7 @@ fn test_positive_zero_lines() {
|
||||||
ts.ucmd()
|
ts.ucmd()
|
||||||
.args(&["-n", "0"])
|
.args(&["-n", "0"])
|
||||||
.pipe_in("a\nb\nc\nd\ne\n")
|
.pipe_in("a\nb\nc\nd\ne\n")
|
||||||
|
.ignore_stdin_write_error()
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue