aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2021-03-24 14:25:15 -0400
committerRob Landley <rob@landley.net>2021-03-24 22:12:34 -0500
commit3cde24138ac06e384965db2944e858d2110ecacb (patch)
treef1f01b725fe6ad25140c680f3d28f2de212d2958 /tests
parent855eca3eaf8ea849599662900a3de18f6ebab9ef (diff)
downloadtoybox-3cde24138ac06e384965db2944e858d2110ecacb.tar.gz
Fix install -t
Diffstat (limited to 'tests')
-rwxr-xr-xtests/install.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/install.test b/tests/install.test
index 228d2470..b1113c0f 100755
--- a/tests/install.test
+++ b/tests/install.test
@@ -13,3 +13,7 @@ testing "install -D exists" \
"mkdir -p a; touch a/b; install -D random a/b && cmp random a/b && echo yes" \
"yes\n" "" ""
rm -rf a random
+testing "install -D -t creates directory" \
+ "touch a; install -Dt b a && echo yes" \
+ "yes\n" "" ""
+rm -rf a b