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

Florian Weimer fweimer@redhat.com
Wed Aug 19 19:34:51 GMT 2026


The middle case (unexpected priority) did not change the test outcome
to failure.
---
 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))		\
-- 
2.55.0




More information about the Libc-alpha mailing list