Opened 4 years ago

Last modified 2 years ago

#16704 new bug

THR: Test FAILED - conformance/interfaces/pthread_attr_setstack/6-1.test

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

Description

Test pthread_attr_setstack()

Steps:

1.  Initialize pthread_attr_t object (attr) 
2.  set the stacksize less than PTHREAD_STACK_MIN

Ref: ​​https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/pthread_attr_setstack/6-1.c

Expected result: Test PASSED

Actual Result: Got the wrong return value: No error (i.e. Test Failed)

Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2

Change History (1)

comment:1 by cocobean, 2 years ago

Optional - Please close this ticket.

Version 0, edited 2 years ago by cocobean (next)
Note: See TracTickets for help on using tickets.