summaryrefslogtreecommitdiff
path: root/tests/touch/dir-1.sh
blob: b4c04fe4111a5befedc4b483db7ad01e3c9592e8 (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
print_ver_ touch

touch . || fail=1
Exit $fail