浏览代码

ensure that we exit instead of proceed in execution after the trap
(the execution leads to hard failures anyway)

David Kalnischkies 14 年之前
父节点
当前提交
a7e052eae6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/integration/framework

+ 1 - 1
test/integration/framework

@@ -102,7 +102,7 @@ aptitude() {
 
 
 addtrap() {
 addtrap() {
 	CURRENTTRAP="$CURRENTTRAP $1"
 	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() {
 setupenvironment() {