mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
tests: set fail=0 by default
* tests/init.sh (setup_): Set fail=0. This was the intent as per <http://lists.gnu.org/archive/html/bug-coreutils/2010-12/msg00058.html> but the assignment in mktempd_ is ineffective, since mktempd_ is used inside `` and its assignments are in a subshell.
This commit is contained in:
parent
561f8be2c9
commit
c67a96c4c1
@ -336,6 +336,9 @@ setup_()
|
||||
for sig_ in 1 2 3 13 15; do
|
||||
eval "trap 'Exit $(expr $sig_ + 128)' $sig_"
|
||||
done
|
||||
|
||||
# Set up for the "Exit $fail" at the end of many tests.
|
||||
fail=0
|
||||
}
|
||||
|
||||
# Create a temporary directory, much like mktemp -d does.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user