[LTP] [PATCH 1/2 v2] tst_test: Fail the test subprocess cannot be killed

Petr Vorel pvorel@suse.cz
Thu Jun 28 09:10:04 CEST 2018


Hi Cyril,

...
> +	while (kill(-test_pid, 0) == 0) {
> +
> +		usleep(sleep);
> +		sleep*=2;
> +
> +		if (retries++ <= 14)
                          ^
Maybe some constant for it?


Kind regards,
Petr


More information about the ltp mailing list