summaryrefslogtreecommitdiff
path: root/tests/du/hard-link
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-16 14:11:59 +0000
committerJim Meyering <jim@meyering.net>2003-11-16 14:11:59 +0000
commitdcee303385a321a1723220081b842408a0d37353 (patch)
treedc8fde0e406d7bcccc8b3885beb81b9c2a141338 /tests/du/hard-link
parentb735f5b5b5b94a636dcbfe88a4c63c0f65ac9076 (diff)
downloadcoreutils-dcee303385a321a1723220081b842408a0d37353.tar.xz
Minor tweak: use mkdir -p.
Diffstat (limited to 'tests/du/hard-link')
-rwxr-xr-xtests/du/hard-link2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/hard-link b/tests/du/hard-link
index 6d0d71117..3702e8d54 100755
--- a/tests/du/hard-link
+++ b/tests/du/hard-link
@@ -20,7 +20,7 @@ framework_failure=0
mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1
-mkdir dir dir/sub
+mkdir -p dir/sub
( cd dir && { echo non-empty > f1; ln f1 f2; echo non-empty > sub/F; } )
if test $framework_failure = 1; then