1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 13:37:48 +00:00

sort: implement --batch-size

This commit is contained in:
Michael Debertol 2021-06-06 13:50:38 +02:00
parent 8d213219c7
commit 7c9da82b39
4 changed files with 88 additions and 7 deletions

View file

@ -840,3 +840,16 @@ fn test_compress_fail() {
.fails()
.stderr_only("sort: couldn't execute compress program: errno 2");
}
#[test]
fn test_merge_batches() {
new_ucmd!()
.args(&[
"ext_sort.txt",
"-n",
"-S",
"150B",
])
.succeeds()
.stdout_only_fixture("ext_sort.expected");
}