From 2b8ef649696b3a68bc6981b257accef56698b8b3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 5 Jan 1999 04:29:16 +0000 Subject: *** empty log message *** --- tests/mkdir/concurrent-1 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tests/mkdir/concurrent-1 (limited to 'tests/mkdir') diff --git a/tests/mkdir/concurrent-1 b/tests/mkdir/concurrent-1 new file mode 100755 index 000000000..dc6fdf6b0 --- /dev/null +++ b/tests/mkdir/concurrent-1 @@ -0,0 +1,24 @@ +#!/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 +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 -- cgit v1.2.3-70-g09d2