1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 17:37:47 +00:00

Tests: Add tests for pthread_setcancel{state,type}

We likely won't be able to test `pthread_cancel` itself, but this at
least makes sure that we use the correct values by default and that we
correctly reject invalid values.
This commit is contained in:
Tim Schumacher 2022-06-12 12:30:37 +02:00 committed by Brian Gianforcaro
parent b4a926735a
commit 1269ce0c35
2 changed files with 89 additions and 0 deletions

View file

@ -14,6 +14,7 @@ set(TEST_SOURCES
TestMemalign.cpp
TestMemmem.cpp
TestMkDir.cpp
TestPthreadCancel.cpp
TestPthreadCleanup.cpp
TestPthreadSpinLocks.cpp
TestPthreadRWLocks.cpp