summaryrefslogtreecommitdiff
path: root/tests/chmod
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-15 10:15:00 +0000
committerJim Meyering <jim@meyering.net>2002-06-15 10:15:00 +0000
commit35e9b38dd8b767825f76e0be3c0c1f618e925667 (patch)
tree25c3572cefe58176276685a5f18cb01784b591e4 /tests/chmod
parenta2e113a2dbb974fa11d5ced540e4878344c7eb4a (diff)
downloadcoreutils-35e9b38dd8b767825f76e0be3c0c1f618e925667.tar.xz
now that $tmp has two components, use mkdir's -p option to create it
Diffstat (limited to 'tests/chmod')
-rwxr-xr-xtests/chmod/equal-x2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chmod/equal-x b/tests/chmod/equal-x
index 49f81f28e..1b1af8aea 100755
--- a/tests/chmod/equal-x
+++ b/tests/chmod/equal-x
@@ -11,7 +11,7 @@ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
framework_failure=0
-mkdir $tmp || framework_failure=1
+mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1
file=f