Преглед изворни кода

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() {
 	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() {