summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_gettimeofday.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.