1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

mv: show no "skipped" msg with -vi/-vin

This commit is contained in:
Daniel Hofstetter 2023-10-02 14:31:41 +02:00
parent ac5684dc8d
commit fda762b91c
2 changed files with 4 additions and 11 deletions

View file

@ -1350,7 +1350,7 @@ fn test_mv_arg_interactive_skipped() {
.ignore_stdin_write_error()
.fails()
.stderr_is("mv: overwrite 'b'? ")
.stdout_is("skipped 'b'\n");
.no_stdout();
}
#[test]
@ -1360,7 +1360,8 @@ fn test_mv_arg_interactive_skipped_vin() {
at.touch("b");
ucmd.args(&["-vin", "a", "b"])
.fails()
.stdout_is("skipped 'b'\n");
.stderr_is("mv: not replacing 'b'\n")
.no_stdout();
}
#[test]