1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27: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:
Sylvestre Ledru 2022-08-09 00:24:32 +02:00 committed by GitHub
commit ab791b6c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();