diff options
author | Rob Landley <rob@landley.net> | 2014-03-11 17:50:17 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-03-11 17:50:17 -0500 |
commit | fad38c7d1675a34a350fb1d99fb6b66728cad8a7 (patch) | |
tree | 7a6dd814d35b933e7f6a6440b7a5f8014d4cbb41 /scripts/test | |
parent | 69664c24a11e8bba39890ec52aefa5654aab60bd (diff) | |
download | toybox-fad38c7d1675a34a350fb1d99fb6b66728cad8a7.tar.gz |
Factor out mkpathat.
Diffstat (limited to 'scripts/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 |