summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_gettimeofday.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove a couple hundred sys/param.h includes in userland code, andderaadt2021-12-131-4/+2
| | | | | | also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl
* Make t_gettimeofday pass on sparc64.mbuhl2021-09-271-1/+3
| | | | OK bluhm@
* Sync libc syscall tests with changes in upstream NetBSD. Use #ifdefbluhm2020-11-091-3/+7
| | | | | | | to document differences to NetBSD behaviour, this helps to track upstream. Mark currently failing test as expected failures. So test programs get compiled and executed, but it shows that further investigation is necceassry.
* On machines with a userland timecounter we bypass the gettimeofday(2)kettenis2020-10-211-2/+16
| | | | | | | | syscall. So whenever we pass a bad address we get a SIGSEGV instead of EFAULT. POSIX explicitly allows this behaviour. So adjust the test to deal with this case. ok deraadt@, millert@, guenther@
* Import NetBSD system call regression tests. They were written withbluhm2019-11-191-0/+90
ATF (Automated Testing Framework), so we use a small wrapper to map it to our bsd.regress.mk framework. Only half of the 80 NetBSD tests have been taken, the others need more work to adapt. Of them 34 syscall tests pass. Moritz Buhl ported the tests to OpenBSD.