Re: [PATCH 3/6] nptl: Fix test error reporting in CHECK_TPP_PRIORITY in tst-tpp.h

Adhemerval Zanella Netto <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Linaro
Message-ID <[email protected]>

On 19/08/26 16:34, Florian Weimer wrote:
> The middle case (unexpected priority) did not change the test outcome
> to failure.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <[email protected]>

> ---
>  nptl/tst-tpp.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/nptl/tst-tpp.h b/nptl/tst-tpp.h
> index e829330506..b3f698f693 100644
> --- a/nptl/tst-tpp.h
> +++ b/nptl/tst-tpp.h
> @@ -42,6 +42,7 @@
>  	{							\
>  	  printf ("unexpected priority %d != %d\n",		\
>  		  cep_sp.sched_priority, (normal));		\
> +	  ret = 1;						\
>  	}							\
>        if (syscall (__NR_sched_getparam, tid, &cep_sp) == 0	\
>  	  && cep_sp.sched_priority != (boosted))		\
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.