[LTP] [PATCH 1/4] Integrate tst_taint_check() into main LTP library

Jan Stancek jstancek@redhat.com
Tue Aug 18 15:54:36 CEST 2020



----- Original Message -----
>  static void do_test_setup(void)
> @@ -1279,6 +1282,9 @@ static int fork_testrun(void)
>  	alarm(0);
>  	SAFE_SIGNAL(SIGINT, SIG_DFL);
>  
> +	if (tst_test->taint_check && tst_taint_check())
> +		tst_brk(TBROK, "Kernel is now tainted.");
> +

Shouldn't this be TFAIL?



More information about the ltp mailing list