Selaa lähdekoodia

tests/loader.c: do not create a new pgid

Nathalie Furmento 7 vuotta sitten
vanhempi
commit
d25d79f733
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  1. 0 7
      tests/loader.c

+ 0 - 7
tests/loader.c

@@ -282,13 +282,6 @@ int main(int argc, char *argv[])
 	child_pid = fork();
 	if (child_pid == 0)
 	{
-		// get a new pgid
-		if (setpgid(0, 0) == -1)
-		{
-			perror("setpgid");
-			fprintf(stderr, "[error] setpgid. Mark test as failed\n");
-			exit(EXIT_FAILURE);
-		}
 		if (launcher)
 		{
 			/* "Launchers" such as Valgrind need to be inserted