mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #5029 from cakebaker/cp_use_mkdir_all_instead_of_mkdir
cp: use mkdir_all() instead of mkdir() in test
This commit is contained in:
commit
a5272e1344
1 changed files with 2 additions and 6 deletions
|
@ -2345,12 +2345,8 @@ fn test_dir_recursive_copy() {
|
|||
let scene = TestScenario::new(util_name!());
|
||||
let at = &scene.fixtures;
|
||||
|
||||
at.mkdir("parent1");
|
||||
at.mkdir("parent2");
|
||||
at.mkdir("parent1/child");
|
||||
at.mkdir("parent2/child1");
|
||||
at.mkdir("parent2/child1/child2");
|
||||
at.mkdir("parent2/child1/child2/child3");
|
||||
at.mkdir_all("parent1/child");
|
||||
at.mkdir_all("parent2/child1/child2/child3");
|
||||
|
||||
// case-1: copy parent1 -> parent1: should fail
|
||||
scene
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue