#18134: sem_unlink: failed openposix test 9-1
------------------------------+-----------------------------
Reporter: cocobean | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Keywords: mman, sem_unlink | Blocked By:
Blocking: | Platform: All
------------------------------+-----------------------------
This sample test aims to check the following assertion:
When the semaphore is referenced by other processes, the function has
no effect on the state of the semaphore.
{{{
The steps are:
-> Create a named semaphore
-> create a thread which waits on the semaphore
-> unlink the semaphore
-> check the thread did not return
-> post the semaphore
-> check the thread returned
-> close the semaphore
}}}
RESULT: The test fails if the semaphore state is changed by sem_unlink.
Ref:
https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/sem_unlink/9-1.c
Tested on: hrev56630 x64
--
Ticket URL: <https://dev.haiku-os.org/ticket/18134>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.