Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
00db514723
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
 }