mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 09:46:33 +02:00
13 lines
204 B
Plaintext
13 lines
204 B
Plaintext
|
|
#!/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
|