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

loader: on timeout, rather terminate with SIGALRM

to avoid producing a core for loader, which we don't care about, that
overwrites the core for the test, which we do care about
Samuel Thibault лет назад: 4
Родитель
Сommit
00db514723
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/loader.c

+ 1 - 1
tests/loader.c

@@ -176,7 +176,7 @@ static void test_cleaner(int sig)
 	kill(-child_gid, SIGQUIT);
 	waitpid(child_pid, &status, 0);
 	launch_gdb(test_name);
-	raise(SIGQUIT);
+	raise(SIGALRM);
 	exit(EXIT_FAILURE);
 }