1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-28 01:58:29 +02:00
Files
coreutils/tests/touch/dir-1
Jim Meyering 293c37b906 tests: substitute the single-program $VERBOSE/--version uses
Automatically make all of the changes like this:

  -test "$VERBOSE" = yes && chgrp --version
  +print_ver_ chgrp

git grep -l 'VERBOSE.*--version'|xargs perl -pi -e \
  's/test "\$VERBOSE" = yes && (\w+) --version/print_ver_ $1/'
2010-11-17 21:45:51 +01:00

10 lines
199 B
Bash
Executable File

#!/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