projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5118d57
)
*** empty log message ***
author
Jim Meyering
<jim@meyering.net>
Tue, 5 Jan 1999 04:29:16 +0000
(
04:29
+0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 5 Jan 1999 04:29:16 +0000
(
04:29
+0000)
tests/mkdir/concurrent-1
[new file with mode: 0755]
patch
|
blob
diff --git a/tests/mkdir/concurrent-1
b/tests/mkdir/concurrent-1
new file mode 100755
(executable)
index 0000000..
dc6fdf6
--- /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