[haiku-bugs] [Haiku] #15287: POSIX testsuite clock_settime and difftime interface failures

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 21 Aug 2019 18:44:48 -0000

#15287: POSIX testsuite clock_settime and difftime interface failures
--------------------------+------------------------------
 Reporter:  cocobean      |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  System/POSIX  |      Version:  R1/Development
 Keywords:  posix         |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 Ref: ​​https://github.com/haiku/open_posix_testsuite

 Open POSIX Testsuite 1.5.2 on Haiku hrev53379

 Issue: timer test failures

 {{{
 conformance/interfaces/clock_settime/4-1: execution: FAILED
 conformance/interfaces/clock_settime/7-1: execution: FAILED
 }}}
 * Test that if clock_settime() changes the value for CLOCK_REALTIME, then
 any absolute timers will use the new time for expiration.

 * Test that if clock_settime() changes the time for CLOCK_REALTIME, then
 any threads blocked on clock_nanosleep() for the CLOCK_REALTIME clock will
 use the new time for expiration.

 {{{
 conformance/interfaces/difftime/1-1: execution: FAILED
 }}}
 * The difftime ( ) function shall compute the difference between two
 calendar times (as returned by time( )): time1. time0. The difftime ( )
 function shall return the difference expressed in seconds as a type
 double.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15287>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: