mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +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:
@@ -27,7 +27,6 @@ fi
|
||||
# but this is as good a witness as any, in general.
|
||||
require_selinux_
|
||||
|
||||
fail=0
|
||||
|
||||
# Require the context=... part by default.
|
||||
id > out || fail=1
|
||||
|
||||
Reference in New Issue
Block a user