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

split: don't flake even on exotic pipe buffer sizes

This commit is contained in:
Ben Wiederhake 2024-02-23 05:23:39 +01:00
parent 44c59a6d28
commit b3d8344d1d

View file

@ -1068,6 +1068,7 @@ fn test_split_number_oversized_stdin() {
new_ucmd!() new_ucmd!()
.args(&["--number=3", "---io-blksize=600"]) .args(&["--number=3", "---io-blksize=600"])
.pipe_in_fixture("sixhundredfiftyonebytes.txt") .pipe_in_fixture("sixhundredfiftyonebytes.txt")
.ignore_stdin_write_error()
.fails() .fails()
.stderr_only("split: -: cannot determine input size\n"); .stderr_only("split: -: cannot determine input size\n");
} }