mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
sort: ignore broken pipes in a test
Since sort exits early due to the nonexistent file, it might no longer be around when we try to send it the input. This is "by design" and can be ignored.
This commit is contained in:
parent
af47c66a00
commit
450a487d76
1 changed files with 1 additions and 0 deletions
|
@ -1000,6 +1000,7 @@ fn test_verifies_out_file() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["-o", "nonexistent_dir/nonexistent_file"])
|
.args(&["-o", "nonexistent_dir/nonexistent_file"])
|
||||||
.pipe_in(input)
|
.pipe_in(input)
|
||||||
|
.ignore_stdin_write_error()
|
||||||
.fails()
|
.fails()
|
||||||
.status_code(2)
|
.status_code(2)
|
||||||
.stderr_only(
|
.stderr_only(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue