Subject: CVS commit: src/regress/sys/kern
To: None <source-changes@NetBSD.org>
From: Frank Kardel <kardel@netbsd.org>
List: source-changes
Date: 07/16/2006 19:19:39
Module Name: src
Committed By: kardel
Date: Sun Jul 16 19:19:39 UTC 2006
Modified Files:
src/regress/sys/kern: Makefile
Added Files:
src/regress/sys/kern/sleeping: Makefile sleeptest.c
Log Message:
Add regressing test for timeout and sleep releated functions.
currently implemented tests:
- check agreement of sleep time with real time (from system)
to be within 30ms
- check for EINTR return code on processing SIGALRM signals
- check for valid residual time if available from the interface
Tested interfaces:
- nanotime(2)
- select(2)
- poll(2)
- sleep(3)
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/regress/sys/kern/Makefile
cvs rdiff -r0 -r1.1 src/regress/sys/kern/sleeping/Makefile \
src/regress/sys/kern/sleeping/sleeptest.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.