From: Jim Meyering Date: Sat, 2 Dec 2000 14:02:34 +0000 (+0000) Subject: add test that would fail on NetBSD before the last change X-Git-Tag: TEXTUTILS-2_0_9~42 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=07584e33ec885be6b6394da14165da02ef3d6826;p=thirdparty%2Fcoreutils.git add test that would fail on NetBSD before the last change --- diff --git a/tests/mkdir/t-slash b/tests/mkdir/t-slash index 8a120cf6e2..2383946913 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