Browse Source

tests/loader.c: send SIGQUIT on timeout to generate core file

Nathalie Furmento 12 years ago
parent
commit
8ef6b950f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/loader.c

+ 1 - 1
tests/loader.c

@@ -120,7 +120,7 @@ static void test_cleaner(int sig)
 	fprintf(stderr, "[error] test %s has been blocked for %d seconds. Mark it as failed\n", test_name, timeout);
 	child_gid = getpgid(child_pid);
 	launch_gdb(test_name);
-	kill(-child_gid, SIGKILL);
+	kill(-child_gid, SIGQUIT);
 	exit(EXIT_FAILURE);
 }