Просмотр исходного кода

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

David Kalnischkies лет назад: 14
Родитель
Сommit
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() {