summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/p-18
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1
index 73d62c38b..dc6fdf6b0 100755
--- a/tests/mkdir/p-1
+++ b/tests/mkdir/p-1
@@ -11,14 +11,14 @@ if test "$VERBOSE" = yes; then
$MKDIR --version
fi
-tmp=$TMPDIR/t-mkdir.$$/a/b/c
-temp_files=$tmp
-rm -rf $temp_files
+temp_dir=$TMPDIR/t-mkdir.$$
+tmp=$temp_dir/a/b/c
+rm -rf $temp_dir
$MKDIR --parents $tmp || fail=1
test -d $tmp || fail=1
-rm -rf $temp_files
+rm -rf $temp_dir
exit $fail