mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #1197 from c-edw/master
mkdir: Silently fail in recursive mode if unable to create directories.
This commit is contained in:
commit
4d89c2d796
2 changed files with 14 additions and 25 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