summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-05-07 18:49:09 +0000
committerJim Meyering <jim@meyering.net>1999-05-07 18:49:09 +0000
commitf31052628df58442478fdbd800468f04904175d6 (patch)
treea0ee0c2587f6f50ccce8076aabba1d0064c256c8 /tests
parent8e03e30c057c2e63ad1a6469ffe6e5088b40bbe5 (diff)
downloadcoreutils-f31052628df58442478fdbd800468f04904175d6.tar.xz
*** empty log message ***
Diffstat (limited to 'tests')
-rwxr-xr-xtests/touch/dir-112
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/touch/dir-1 b/tests/touch/dir-1
new file mode 100755
index 000000000..bbfbd68a6
--- /dev/null
+++ b/tests/touch/dir-1
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Make sure touch can operate on a directory.
+# This was broken in the 4.0[efg] test releases.
+
+if test "$VERBOSE" = yes; then
+ set -x
+ touch --version
+fi
+
+fail=0
+touch . || fail=1
+exit $fail