[PATCH 3/6] nptl: Fix test error reporting in CHECK_TPP_PRIORITY in tst-tpp.h
Florian Weimer <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <8d70e598a3e5dddfc1aaba4b5943b769ca918c86.1787168028.git.fweimer@redhat.com> |
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