diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2010-01-30 16:02:36 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-23 15:44:19 +0200 |
commit | c0a121c9bccc6175dc3cdb705e2ec8cb2be9f71c (patch) | |
tree | 40c41fe70aedd357135702145a2b1899c040a9c3 /bootstrap | |
parent | c9e4ea6ee2007462554568f156838b0fb6d55c9a (diff) | |
download | coreutils-c0a121c9bccc6175dc3cdb705e2ec8cb2be9f71c.tar.xz |
tests: fix exit status of signal handlers in shell scripts
The value of `$?' on entrance to signal handlers in shell scripts
cannot be relied upon, so set the exit code explicitly.
* cfg.mk (sc_always_defined_macros, sc_system_h_headers): Set
the exit code in signal handler explicitly to 128 + SIG<SIGNAL>.
* src/Makefile.am (sc_tight_scope): Likewise.
* tests/test-lib.sh: Likewise.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions