1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

sort: handle empty merge inputs

This commit is contained in:
Michael Debertol 2021-07-31 20:19:11 +02:00
parent 5bf4536bdd
commit 418f5b7692
3 changed files with 17 additions and 6 deletions

View file

@ -1039,3 +1039,12 @@ fn test_output_device() {
.pipe_in("input")
.succeeds();
}
#[test]
fn test_merge_empty_input() {
new_ucmd!()
.args(&["-m", "empty.txt"])
.succeeds()
.no_stderr()
.no_stdout();
}

0
tests/fixtures/sort/empty.txt vendored Normal file
View file