summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-15 10:16:22 +0000
committerJim Meyering <jim@meyering.net>2002-06-15 10:16:22 +0000
commita44fd51a814af05b1fe85d19baaa688a69feb8fb (patch)
treeecec2628f4dab01d0ee741146403b26dacffb681 /tests
parent35e9b38dd8b767825f76e0be3c0c1f618e925667 (diff)
downloadcoreutils-a44fd51a814af05b1fe85d19baaa688a69feb8fb.tar.xz
now that $tmp has two components, use mkdir's -p option to create it
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mkdir/perm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index cc5d15b27..3e18eab1a 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -19,7 +19,7 @@ cd $srcdir || framework_failure=1
abs_srcdir=`pwd`
cd $pwd || framework_failure=1
-mkdir $tmp || framework_failure=1
+mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1
if test $framework_failure = 1; then