1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-14 03:12:10 +02:00
Files
coreutils/tests/touch/dir-1
1999-05-07 18:49:09 +00:00

13 lines
204 B
Bash
Executable File

#!/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
fail=0
touch . || fail=1
exit $fail