freebsd-src/contrib/netbsd-tests
Eric van Gyzen e48c002fa4 Relax time constraint in pthread_cond_timedwait unit test
pthread_cond_timedwait() should wait _at least_ until the timeout,
but it might appear to wait longer due to system activity and
scheduling.  The test ignored fractional seconds when comparing the
actual and expected timeouts, so it allowed anywhere between zero
and one extra second of wait time.  Zero is a bit unreasonable.
Compare fractional seconds so we always allow up to one extra second.

Reviewed by:	ngie
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2019-08-05 22:59:35 +00:00
..
bin Add testcases for cat -b 2017-06-06 21:50:00 +00:00
crypto
dev
fs Fix tmpfs detection in the sys/fs/tmpfs tests 2018-07-21 23:54:40 +00:00
games
include
ipf
kernel Implement shmat(2) flag SHM_REMAP. 2019-01-16 05:15:57 +00:00
lib Relax time constraint in pthread_cond_timedwait unit test 2019-08-05 22:59:35 +00:00
libexec/ld.elf_so
modules
net
rump
sbin
share
sys
usr.bin netbsd-tests: bsdgrep(1): Add a test for -m, too 2018-06-07 18:53:39 +00:00
usr.sbin
FREEBSD-upgrade
h_macros.h