Opened 5 years ago

Closed 3 years ago

#15287 closed bug (not reproducible)

POSIX testsuite clock_settime and difftime interface failures

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

Description

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.

Change History (2)

comment:1 by cocobean, 3 years ago

Tests PASSED on hrev54697 x86. Please close this ticket.

comment:2 by korli, 3 years ago

Resolution: not reproducible
Status: newclosed
Note: See TracTickets for help on using tickets.