summaryrefslogtreecommitdiff
path: root/tests/mkdir/p-2
blob: 5eaf70c955957590a9295a50871cbe3a8f729b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Just like p-1, but with TMPDIR=.

TMPDIR=.

if test "$VERBOSE" = yes; then
  set -x
  mkdir --version
fi

tmp=$TMPDIR/t-mkdir.$$
temp_files=$tmp
rm -rf $temp_files

mkdir --parents $tmp || fail=1

test -d $tmp || fail=1

rm -rf $temp_files

exit $fail