aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKate Ward <kate.ward@forestent.com>2020-03-29 18:28:56 +0200
committerKate Ward <kate.ward@forestent.com>2020-03-29 18:28:56 +0200
commitffe0a6bb82c8e04f85fca83023646886c66b3dbe (patch)
treeb640e8660ec59221ab49b16e9007289b142afc21 /lib
parent94ed67b91c539104e84d0f0845c06d4b7ebc3181 (diff)
downloadshflags-ffe0a6bb82c8e04f85fca83023646886c66b3dbe.tar.gz
Fixed recent test failures, and a shunit2 bug.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/shunit22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shunit2 b/lib/shunit2
index a093463..530b2d6 100755
--- a/lib/shunit2
+++ b/lib/shunit2
@@ -948,13 +948,13 @@ EOF
_shunit_cleanup() {
_shunit_name_=$1
+ _shunit_signal_=0
case "${_shunit_name_}" in
EXIT) ;;
INT) _shunit_signal_=130 ;; # 2+128
TERM) _shunit_signal_=143 ;; # 15+128
*)
_shunit_error "unrecognized trap value (${_shunit_name_})"
- _shunit_signal_=0
;;
esac
if (command [ "${_shunit_name_}" != 'EXIT' ]); then