mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-26 09:04:50 +02:00
23 lines
312 B
Bash
Executable File
23 lines
312 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# TMPDIR should be an absolute dir for this test.
|
|
# FIXME: enforce it
|
|
: ${TMPDIR=/tmp}
|
|
|
|
if test "$VERBOSE" = yes; then
|
|
set -x
|
|
mkdir --version
|
|
fi
|
|
|
|
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_dir
|
|
|
|
exit $fail
|