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

. $top_srcdir/tests/test-lib.sh

fail=0
touch . || fail=1
(exit $fail); exit $fail