[haiku-bugs] [Haiku] #16692: SEM: Test conformance/interfaces/sem_init/7-1.c FAILED

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 25 Dec 2020 02:44:16 -0000

#16692: SEM: Test conformance/interfaces/sem_init/7-1.c FAILED
-----------------------------------------+-----------------------------
 Reporter:  cocobean                     |       Owner:  nobody
     Type:  bug                          |      Status:  new
 Priority:  normal                       |   Milestone:  Unscheduled
Component:  System/POSIX                 |     Version:  R1/Development
 Keywords:  POSIX, semaphores, sem_init  |  Blocked By:
 Blocking:                               |    Platform:  All
-----------------------------------------+-----------------------------
 This sample test aims to check the following assertion:

 sem_init returns -1 and sets errno to ENOSPC if the system lacks a
 resource
 or SEM_NSEMS_MAX has been reached.

 The steps are:
  -> Try and sem_init SEM_NSEMS_MAX semaphores.

  -> Try and sem_init an additional semaphore.

 The test fails if the last creation does not return an error.

 Ref: conformance/interfaces/sem_init/7-1.c

 Tested on: Haiku hrev54811 x86_gcc2

 Expected result: Test passed

 Test result: [01:15:36]Test conformance/interfaces/sem_init/7-1.c FAILED:
 We were able to sem_init more than SEM_NSEMS_MAX semaphores
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16692>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: