diff options
author | Rob Landley <rob@landley.net> | 2013-01-05 00:44:24 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-01-05 00:44:24 -0600 |
commit | 41ed9793498916c63d375326ea8c9b3fa1479dd6 (patch) | |
tree | 85cbe885f586ac1c0402b3bf3b3b3e7f7afa618b /scripts/test/rmdir.test | |
parent | 90e8605ea587c4ebd00de77e3c71551b6e26b7c0 (diff) | |
download | toybox-41ed9793498916c63d375326ea8c9b3fa1479dd6.tar.gz |
Use basename() where appropriate.
Diffstat (limited to 'scripts/test/rmdir.test')
-rwxr-xr-x | scripts/test/rmdir.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test/rmdir.test b/scripts/test/rmdir.test index bea75881..a7b027e0 100755 --- a/scripts/test/rmdir.test +++ b/scripts/test/rmdir.test @@ -45,6 +45,10 @@ mkdir -p one/two/three testing "rmdir -p one/two/three" \ "rmdir -p one/two/three && [ ! -e one ] && echo yes" "yes\n" "" "" +mkdir -p one/two/three +testing "rmdir -p one/two/three/" \ + "rmdir -p one/two/three/ && [ ! -e one ] && echo yes" "yes\n" "" "" + #mkdir -p one/two/three #chmod 000 one/two/three one/two one #testing "rmdir -p one/two/three" \ |