1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00
This commit is contained in:
Jim Meyering
1997-07-09 15:21:03 +00:00
parent f9f695018a
commit 29e0df8652

23
tests/mkdir/p-2 Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
# Just like p-1, but with TMPDIR=.
: ${MKDIR=mkdir}
TMPDIR=.
if test "$VERBOSE" = yes; then
set -x
$MKDIR --version
fi
tmp=$TMPDIR/t-mkdir.$$/a/b/c
temp_files=$tmp
rm -rf $temp_files
$MKDIR --parents $tmp || fail=1
test -d $tmp || fail=1
rm -rf $temp_files
exit $fail