From: David Kalnischkies Date: Wed, 30 Nov 2011 15:37:09 +0000 (+0100) Subject: ensure that we exit instead of proceed in execution after the trap X-Git-Tag: 0.9.0~40^2~19 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/a7e052eae64486a31595bc9b3f4a1c02c13256e3?ds=inline ensure that we exit instead of proceed in execution after the trap (the execution leads to hard failures anyway) --- diff --git a/test/integration/framework b/test/integration/framework index b55f793a4..2ea1844f0 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -102,7 +102,7 @@ aptitude() { addtrap() { CURRENTTRAP="$CURRENTTRAP $1" - trap "$CURRENTTRAP" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM + trap "$CURRENTTRAP exit;" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM } setupenvironment() {