Browse Source

loader: try to raise SIGQUIT on timeout

so it's trivial to know in the showfailed summary what timedout.
Samuel Thibault 5 years ago
parent
commit
4c4e70e28e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/loader.c

+ 1 - 0
tests/loader.c

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