mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #5348 from cakebaker/cp_show_no_skipped_message
cp: show no "skipped" msg with -vi/-vin
This commit is contained in:
commit
689b21d0b8
2 changed files with 10 additions and 15 deletions
|
@ -483,7 +483,8 @@ fn test_cp_arg_interactive_verbose() {
|
|||
ucmd.args(&["-vi", "a", "b"])
|
||||
.pipe_in("N\n")
|
||||
.fails()
|
||||
.stdout_is("skipped 'b'\n");
|
||||
.stderr_is("cp: overwrite 'b'? ")
|
||||
.no_stdout();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -494,7 +495,8 @@ fn test_cp_arg_interactive_verbose_clobber() {
|
|||
at.touch("b");
|
||||
ucmd.args(&["-vin", "a", "b"])
|
||||
.fails()
|
||||
.stdout_is("skipped 'b'\n");
|
||||
.stderr_is("cp: not replacing 'b'\n")
|
||||
.no_stdout();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue