#18134 closed bug (invalid)

sem_unlink: failed openposix test 9-1

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: mman, sem_unlink Cc:
Blocked By: Blocking:
Platform: All

Description

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

Change History (2)

comment:1 by cocobean, 18 months ago

Entered by mistake. Please close this ticket.

comment:2 by nephele, 18 months ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.