#16722: THR: Test FAILED - conformance/interfaces/pthread_barrier_init/3-1.test
-------------------------------------------------+-------------------------
Reporter: cocobean | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone:
| Unscheduled
Component: System/POSIX | Version:
Keywords: POSIX, pthreads, | R1/Development
pthread_barrier_init | Blocked By:
Blocking: | Platform: All
-------------------------------------------------+-------------------------
The pthread_barrier_init( ) function shall fail if [EINVAL] The value
specified by count is equal to zero.
Ref:
https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/pthread_barrier_init/3-1.c
Expected result: Test passed
Actual Result: Test FAILED: pthread_barrier_init() does not return EINVAL
when intializing a barrier with count=0, return code -2147483643, Invalid
Argument
Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2
--
Ticket URL: <https://dev.haiku-os.org/ticket/16722>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.