projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: factor 350 fail=0 initializations into test-lib.sh
[platform/upstream/coreutils.git]
/
tests
/
test-lib.sh
diff --git
a/tests/test-lib.sh
b/tests/test-lib.sh
index
4419742
..
456a30a
100644
(file)
--- a/
tests/test-lib.sh
+++ b/
tests/test-lib.sh
@@
-395,3
+395,6
@@
elif ( cmp --version < /dev/null 2>&1 | grep GNU ) 2>&1 > /dev/null; then
else
compare() { cmp "$@"; }
fi
+
+# Initialize; all bourne shell scripts end with "Exit $fail".
+fail=0