mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
mkdir: Use std create_dir_all for recursive operations.
This commit is contained in:
parent
e03ab6b554
commit
9d5631228a
2 changed files with 11 additions and 11 deletions
|
@ -53,6 +53,7 @@ fn test_mkdir_dup_file() {
|
|||
let scene = TestScenario::new(util_name!());
|
||||
scene.fixtures.touch(TEST_FILE7);
|
||||
scene.ucmd().arg(TEST_FILE7).fails();
|
||||
|
||||
// mkdir should fail for a file even if -p is specified.
|
||||
scene.ucmd().arg("-p").arg(TEST_FILE7).fails();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue