diff options
Diffstat (limited to 'scripts/test/mkdir.test')
-rwxr-xr-x[-rw-r--r--] | scripts/test/mkdir.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/test/mkdir.test b/scripts/test/mkdir.test index 583b4c0d..8b2f99f5 100644..100755 --- a/scripts/test/mkdir.test +++ b/scripts/test/mkdir.test @@ -64,3 +64,10 @@ testing "mkdir -vp" "mkdir -vp walrus 2>&1" \ testing "mkdir -vp exists" "mkdir -vp walrus 2>&1" \ "" "" "" +rm -rf walrus + +touch two +testing "mkdir continue after fail" \ + "mkdir -m 777 one two three 2>/dev/null || stat -c %a three" \ + "777\n" "" "" +rm -rf one two three |