summaryrefslogtreecommitdiff
path: root/tests/touch/dir-1
blob: 2d61bb58fe87ae0fdf4f767e32f42975da4c5660 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Make sure touch can operate on a directory.
# This was broken in the 4.0[efg] test releases.

. "${srcdir=.}/init.sh"; path_prepend_ ../src
test "$VERBOSE" = yes && touch --version

touch . || fail=1
Exit $fail