[LTP] [PATCH] msgstress01: remove TWARN type from runtime remaining

Cyril Hrubis chrubis@suse.cz
Wed Jun 26 15:39:18 CEST 2024


Hi!
> Signed-off-by: Li Wang <liwang@redhat.com>
> ---
>  testcases/kernel/syscalls/ipc/msgstress/msgstress01.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
> index 8b1e9a8c0..9f0ba105d 100644
> --- a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
> +++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
> @@ -214,7 +214,7 @@ static void run(void)
>  			break;
>  
>  		if (!tst_remaining_runtime()) {
> -			tst_res(TWARN, "Out of runtime during forking...");
> +			tst_res(TINFO, "Warning: Out of runtime during forking...");

Maybe this should be a TCONF instead, since we were not able to run the
test because the kernel is too slow...

>  			*stop = 1;
>  			break;
>  		}
> -- 
> 2.45.2
> 

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list