Opened 4 months ago

#15287 new bug

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:
Has a Patch: no 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 (0)

Note: See TracTickets for help on using tickets.