Opened 17 months ago

#16722 new bug

THR: Test FAILED - conformance/interfaces/pthread_barrier_init/3-1.test

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

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.