1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

tests: factor 350 fail=0 initializations into test-lib.sh

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.
This commit is contained in:
Jim Meyering
2009-10-30 10:50:21 +01:00
parent 12a0a583f6
commit 3c88587b2e
345 changed files with 3 additions and 347 deletions

View File

@@ -29,7 +29,6 @@ fi
# FIXME: cleanup_() { rm -rf "$other_partition_tmpdir"; }
# FIXME: . "$abs_srcdir/other-fs-tmpdir"
fail=0
FIXME > out || fail=1
cat <<\EOF > exp || fail=1
FIXME