소스 검색

On timeout, only kill the timed-out test

Samuel Thibault 5 년 전
부모
커밋
6374941c76
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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.  */