]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
ensure that we exit instead of proceed in execution after the trap
[apt.git] / test / integration / framework
index b55f793a4860b3590ca8d717a7222c86814a89cd..2ea1844f0fdbbe6d1d21007cf466937c78db78f8 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() {