Tizen 2.0 Release
[external/tizen-coreutils.git] / tests / touch / dir-1
1 #!/bin/sh
2 # Make sure touch can operate on a directory.
3 # This was broken in the 4.0[efg] test releases.
4
5 if test "$VERBOSE" = yes; then
6   set -x
7   touch --version
8 fi
9
10 fail=0
11 touch . || fail=1
12 exit $fail