summaryrefslogtreecommitdiff
path: root/tests/touch/dir-1.sh
blob: cb0e17275118c507ecfda753621a4f4973d113b1 (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=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ touch

touch . || fail=1
Exit $fail