diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-09 15:21:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-09 15:21:03 +0000 |
commit | 29e0df86524bbd26d4461f5a1de048af579bcad1 (patch) | |
tree | 5d2da737db060656227bb6bce1edd8d36f257b6d /tests/mkdir/p-2 | |
parent | f9f695018ae8b5ca772abcceb8ad6bb1e67d1e26 (diff) | |
download | coreutils-29e0df86524bbd26d4461f5a1de048af579bcad1.tar.xz |
.
Diffstat (limited to 'tests/mkdir/p-2')
-rwxr-xr-x | tests/mkdir/p-2 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2 new file mode 100755 index 000000000..784a1292a --- /dev/null +++ b/tests/mkdir/p-2 @@ -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 |