mirror of
https://github.com/uutils/coreutils
synced 2025-01-06 10:19:08 +00:00
tests/install: fix mistakes when adding previous
This commit is contained in:
parent
2965581847
commit
81c45cde47
1 changed files with 3 additions and 3 deletions
|
@ -1187,7 +1187,6 @@ fn test_install_dir_req_verbose() {
|
||||||
let at = &scene.fixtures;
|
let at = &scene.fixtures;
|
||||||
|
|
||||||
let file_1 = "source_file1";
|
let file_1 = "source_file1";
|
||||||
let dest_dir = "sub4";
|
|
||||||
at.touch(file_1);
|
at.touch(file_1);
|
||||||
scene
|
scene
|
||||||
.ucmd()
|
.ucmd()
|
||||||
|
@ -1199,13 +1198,14 @@ fn test_install_dir_req_verbose() {
|
||||||
|
|
||||||
scene
|
scene
|
||||||
.ucmd()
|
.ucmd()
|
||||||
.arg("-t sub4/a")
|
.arg("-t")
|
||||||
|
.arg("sub4/a")
|
||||||
.arg("-Dv")
|
.arg("-Dv")
|
||||||
.arg(file_1)
|
.arg(file_1)
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_contains("install: creating directory 'sub4'\ninstall: creating directory 'sub4/a'\n'source_file1' -> 'sub4/a/source_file1'");
|
.stdout_contains("install: creating directory 'sub4'\ninstall: creating directory 'sub4/a'\n'source_file1' -> 'sub4/a/source_file1'");
|
||||||
|
|
||||||
at.mkdir(dest_dir);
|
at.mkdir("sub5");
|
||||||
scene
|
scene
|
||||||
.ucmd()
|
.ucmd()
|
||||||
.arg("-Dv")
|
.arg("-Dv")
|
||||||
|
|
Loading…
Reference in a new issue