]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
add test that would fail on NetBSD before the last change
authorJim Meyering <jim@meyering.net>
Sat, 2 Dec 2000 14:02:34 +0000 (14:02 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 2 Dec 2000 14:02:34 +0000 (14:02 +0000)
tests/mkdir/t-slash

index 8a120cf6e26aaaad20eb089c9a0494190fc06ea1..2383946913160757592eaab6de52eec9411cbe2a 100755 (executable)
@@ -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