summaryrefslogtreecommitdiff
path: root/tests/touch/dir-1
blob: ef1543e26e18971c217d61e09f89f9a1eb3f4bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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

. $srcdir/test-lib.sh

touch . || fail=1
Exit $fail