diff options
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-x | tests/mkdir/t-slash | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/mkdir/t-slash b/tests/mkdir/t-slash index 8a120cf6e..238394691 100755 --- a/tests/mkdir/t-slash +++ b/tests/mkdir/t-slash @@ -1,5 +1,6 @@ #!/bin/sh -# make sure --parents works with a trailing slash +# Ensure that mkdir works with arguments specified with and without +# a trailing slash. if test "$VERBOSE" = yes; then set -x @@ -25,4 +26,8 @@ fail=0 mkdir -p dir/ || fail=1 test -d dir || fail=1 +# This failed on NetBSD for fileutils-4.0.33. +mkdir d2/ || fail=1 +test -d d2 || fail=1 + (exit $fail); exit |