summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys (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@
* Use std=gnu99 to be able to build the tests with both base clang and gcc.mpi2020-10-061-1/+3
|
* Add missing new line to printf. Make clean should not require SUDO.bluhm2020-02-022-7/+5
|
* Enable t_ptrace with an errno change compared to NetBSD.mpi2020-01-304-19/+31
| | | | | | | | Note that the last test triggers a kernel bug related to waitpid(9) and ptraced processes. This is now visible thanks to recent make(1) changes. guenther@ suggests to look at the logic behind `p_orphan' in FreeBSD to fix this bug.
* Make clean should not require SUDO.bluhm2020-01-131-3/+1
|
* Sync tests with current NetBSD. Enable t_mkfifo test.bluhm2019-11-226-27/+44
| | | | from Moritz Buhl
* Import NetBSD system call regression tests. They were written withbluhm2019-11-1949-0/+10692
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.