[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] [Haiku] #16706: THR: Test FAILED - conformance/interfaces/pthread_detach/4-1.test
From: "Haiku" <trac () haiku-os ! org>
Date: 2020-12-29 4:18:43
Message-ID: 044.db352412b8b6d6731d353f0e9a9bb743 () haiku-os ! org
[Download RAW message or body]
--==============„74206465614681671=MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
#16706: THR: Test FAILED - conformance/interfaces/pthread_detach/4-1.test
---------------------------------------------+-----------------------------
Reporter: cocobean | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Keywords: POSIX, pthreads, pthread_detach | Blocked By:
Blocking: | Platform: All
---------------------------------------------+-----------------------------
Test that pthread_detach()
Upon failure, it shall return an error number:
-[EINVAL] The implemenation has detected that the value specified by
'thread' does not refer to a joinable thread.
-[ESRCH] No thread could be found corresponding to that thread. It shall
not return an error code of [EINTR]
STEPS:
{{{
1.Create a detached state thread
2.Detach that thread
3.Check the return value and make sure it is EINVAL
}}}
Ref:
​https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/pthread_detach/4-1.c
Expected result: Test passed
Actual Result: Test failed. Incorrect error code
Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2
--
Ticket URL: <https://dev.haiku-os.org/ticket/16706>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--==============„74206465614681671==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic