NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54370: lib/libc/sys/t_getitimer/setitimer_old test case fails randomly



The following reply was made to PR kern/54370; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Paul Goyette <paul%whooppee.com@localhost>
Subject: Re: kern/54370: lib/libc/sys/t_getitimer/setitimer_old test case fails randomly
Date: Fri, 12 Jul 2019 00:00:01 +0300

 This looks like a bogus test.  The test is checking that the "previous
 value" returned by setitimer() via ovalue is the value that was last
 set by an earlier setitimer() call, but it is actually the timer's
 *current* value, which is decreasing with time, so the test fails
 whenever a clock interrupt happens between the two setitimer() calls.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index