ensure that we exit instead of proceed in execution after the trap
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 30 Nov 2011 15:37:09 +0000 (16:37 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 30 Nov 2011 15:37:09 +0000 (16:37 +0100)
(the execution leads to hard failures anyway)

test/integration/framework

index b55f793..2ea1844 100644 (file)
@@ -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() {