Opened 9 years ago

Closed 9 years ago

#6707 closed bug (fixed)

sleep() apears to have wrong return value

Reported by: scottmc Owned by: phoudoin
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

gnulib test suite test test-sleep fails. Attached is a test program that should check this.

Attachments (1)

test-sleep.c (1.7 KB) - added by scottmc 9 years ago.
this should build with a simple: gcc test-sleep -o test-sleep

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by scottmc

Attachment: test-sleep.c added

this should build with a simple: gcc test-sleep -o test-sleep

comment:1 Changed 9 years ago by scottmc

Here's the output I get when running the test program:

~> gcc test-sleep.c -o test-sleep
~> test-sleep
pentecost=4320000, remaining = 1002598 
test-sleep.c:57: assertion failed
Abort
Abort
~> 

comment:2 Changed 9 years ago by phoudoin

Owner: changed from nobody to phoudoin
Status: newin-progress

comment:3 Changed 9 years ago by phoudoin

Resolution: fixed
Status: in-progressclosed

Fixed in hrev38903.

Note: See TracTickets for help on using tickets.