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:
parent
fd5310411e
commit
7af3007204
2 changed files with 32 additions and 2 deletions
|
@ -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'
|
||||
",
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue