Commit Graph

10 Commits

Author SHA1 Message Date
Wildan M fb01e89508 Adjust test sleeps 2025-12-18 10:13:40 +07:00
4lDO2 2fb247266b Fix typo in pthread_exit test. 2025-04-19 19:27:00 +02:00
4lDO2 9e769fcb57 Add pthread_exit test.
This caught a bug in the kernel where it would return Ok(24) when
passing zero extra-munmap length.
2025-04-19 19:27:00 +02:00
Anhad Singh a527cc53ea tests(pthread): status must be 0 if not leader
Fix CI break.

man pthread_barrier_wait(3)
> ...the constant PTHREAD_BARRIER_SERIAL_THREAD shall be returned to
> one *unspecified* thread and zero shall be  returned  to  each  of  the  remaining
> threads.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-05 16:24:10 +11:00
Jacob Lorentzon 1fba2ef10a Various futex fixes 2024-04-05 20:31:06 +00:00
4lDO2 5f929ed51e Enable -Wextra in tests. 2023-11-12 12:07:49 +01:00
4lDO2 c76a12347f Enforce -Werror in tests. 2023-11-12 11:45:15 +01:00
4lDO2 84e5b41200 Improve once test. 2023-05-06 17:02:55 +02:00
4lDO2 d8bc60e0fb Add more pthread tests. 2023-05-06 17:02:55 +02:00
4lDO2 7e91f3f950 Add pthread tests. 2023-05-06 17:02:54 +02:00