Explorar o código

On timeout, only kill the timed-out test

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
6374941c76
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/loader.c

+ 2 - 0
tests/loader.c

@@ -361,6 +361,8 @@ int main(int argc, char *argv[])
 		char *launcher_argv[100];
 		int i=0;
 
+		setpgid(0, 0);
+
 		/* "Launchers" such as Valgrind need to be inserted
 		 * after the Libtool-generated wrapper scripts, hence
 		 * this special-case.  */