diff options
-rwxr-xr-x | tests/mkdir/concurrent-1 | 6 | ||||
-rwxr-xr-x | tests/mkdir/p-1 | 6 | ||||
-rwxr-xr-x | tests/mkdir/p-2 | 6 |
3 files changed, 6 insertions, 12 deletions
diff --git a/tests/mkdir/concurrent-1 b/tests/mkdir/concurrent-1 index dc6fdf6b0..738ac146c 100755 --- a/tests/mkdir/concurrent-1 +++ b/tests/mkdir/concurrent-1 @@ -1,21 +1,19 @@ #!/bin/sh -: ${MKDIR=mkdir} - # TMPDIR should be an absolute dir for this test. # FIXME: enforce it : ${TMPDIR=/tmp} if test "$VERBOSE" = yes; then set -x - $MKDIR --version + mkdir --version fi temp_dir=$TMPDIR/t-mkdir.$$ tmp=$temp_dir/a/b/c rm -rf $temp_dir -$MKDIR --parents $tmp || fail=1 +mkdir --parents $tmp || fail=1 test -d $tmp || fail=1 diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1 index dc6fdf6b0..738ac146c 100755 --- a/tests/mkdir/p-1 +++ b/tests/mkdir/p-1 @@ -1,21 +1,19 @@ #!/bin/sh -: ${MKDIR=mkdir} - # TMPDIR should be an absolute dir for this test. # FIXME: enforce it : ${TMPDIR=/tmp} if test "$VERBOSE" = yes; then set -x - $MKDIR --version + mkdir --version fi temp_dir=$TMPDIR/t-mkdir.$$ tmp=$temp_dir/a/b/c rm -rf $temp_dir -$MKDIR --parents $tmp || fail=1 +mkdir --parents $tmp || fail=1 test -d $tmp || fail=1 diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2 index d007f3551..5eaf70c95 100755 --- a/tests/mkdir/p-2 +++ b/tests/mkdir/p-2 @@ -1,20 +1,18 @@ #!/bin/sh # Just like p-1, but with TMPDIR=. -: ${MKDIR=mkdir} - TMPDIR=. if test "$VERBOSE" = yes; then set -x - $MKDIR --version + mkdir --version fi tmp=$TMPDIR/t-mkdir.$$ temp_files=$tmp rm -rf $temp_files -$MKDIR --parents $tmp || fail=1 +mkdir --parents $tmp || fail=1 test -d $tmp || fail=1 |