aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/rmdir.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-01-05 00:44:24 -0600
committerRob Landley <rob@landley.net>2013-01-05 00:44:24 -0600
commit41ed9793498916c63d375326ea8c9b3fa1479dd6 (patch)
tree85cbe885f586ac1c0402b3bf3b3b3e7f7afa618b /scripts/test/rmdir.test
parent90e8605ea587c4ebd00de77e3c71551b6e26b7c0 (diff)
downloadtoybox-41ed9793498916c63d375326ea8c9b3fa1479dd6.tar.gz
Use basename() where appropriate.
Diffstat (limited to 'scripts/test/rmdir.test')
-rwxr-xr-xscripts/test/rmdir.test4
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" \