1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

split: add --verbose option

This commit is contained in:
Jeffrey Finkelstein 2022-01-15 23:04:46 -05:00
parent fd5310411e
commit 7af3007204
2 changed files with 32 additions and 2 deletions

View file

@ -408,3 +408,19 @@ fn test_suffixes_exhausted() {
.fails()
.stderr_only("split: output file suffixes exhausted");
}
#[test]
fn test_verbose() {
new_ucmd!()
.args(&["-b", "5", "--verbose", "asciilowercase.txt"])
.succeeds()
.stdout_only(
"creating file 'xaa'
creating file 'xab'
creating file 'xac'
creating file 'xad'
creating file 'xae'
creating file 'xaf'
",
);
}