mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-18 05:12:15 +02:00
Run this command to remove the factored-out "fail=0" lines. perl -ni -e '/^fail=0$/ or print' $(g grep -l '^fail=0$') * tests/test-lib.sh: Initialize fail=0 here, not in 300+ scripts. * tests/...: nearly all bourne shell scripts Suggested by Eric Blake.
14 lines
220 B
Bash
Executable File
14 lines
220 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
|
|
|
|
. $srcdir/test-lib.sh
|
|
|
|
touch . || fail=1
|
|
Exit $fail
|