summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove echo headlines.bluhm2020-12-171-2/+1
|
* Enable t_mmap-1 test. It is skipped on NetBSD, but works for us.bluhm2020-12-062-3/+10
|
* Run the atf cleanup block after each test. This makes more testsbluhm2020-11-111-9/+11
| | | | pass when run as non root.
* Declare prototype of __syscall locally. Fixes t_syscall test.bluhm2020-11-102-3/+7
|
* Sync libc syscall tests with changes in upstream NetBSD. Use #ifdefbluhm2020-11-0920-283/+212
| | | | | | | 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@
* 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.