aboutsummaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-12-18 10:20:16 -0600
committerRob Landley <rob@landley.net>2013-12-18 10:20:16 -0600
commited9eac3967ed88262293aa395744194f8be294b0 (patch)
tree3d5e4ab9ce2cca36218bd8482785fab38188aebc /scripts/test
parent4f20b9628bff272c504b6bf2c7c71619f7337022 (diff)
downloadtoybox-ed9eac3967ed88262293aa395744194f8be294b0.tar.gz
Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite entries.
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/mkdir.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/test/mkdir.test b/scripts/test/mkdir.test
index cbd425d4..583b4c0d 100644
--- a/scripts/test/mkdir.test
+++ b/scripts/test/mkdir.test
@@ -58,3 +58,9 @@ testing "mkdir -p -m 777 (377 umask)" \
"700\n777\n" "" ""
umask 002
rm -rf one
+
+testing "mkdir -vp" "mkdir -vp walrus 2>&1" \
+ "mkdir: created directory 'walrus'\n" "" ""
+
+testing "mkdir -vp exists" "mkdir -vp walrus 2>&1" \
+ "" "" ""