summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/sys/README')
-rw-r--r--src/regress/lib/libc/sys/README82
1 files changed, 44 insertions, 38 deletions
diff --git a/src/regress/lib/libc/sys/README b/src/regress/lib/libc/sys/README
index 0f7d82e7b6..5606fcaa15 100644
--- a/src/regress/lib/libc/sys/README
+++ b/src/regress/lib/libc/sys/README
@@ -3,24 +3,33 @@ Regression tests for system calls ported from NetBSD.
3Reimplement ATF with many hacks to adjust the tests as little as possible. 3Reimplement ATF with many hacks to adjust the tests as little as possible.
4 4
5Tests passing without source file adjustments: 5Tests passing without source file adjustments:
6t_access t_getpid t_link t_msgsnd t_sigaction 6t_access t_getsockname t_msgctl t_sigaltstack
7t_bind t_getsid t_listen t_msync t_socketpair 7t_bind t_gettimeofday t_msgsnd t_socketpair
8t_getgroups t_getsockname t_mkdir t_pipe t_truncate 8t_conect t_kill t_msync t_truncate
9t_getitimer t_gettimeofday t_mkfifo t_sendrecv t_umask 9t_getgroups t_link t_pipe t_umask
10t_getlogin t_kill t_msgctl t_setuid t_write 10t_getitimer t_listen t_ppoll t_write
11t_getlogin t_minherit t_sendrecv
12t_getpid t_mkdir t_setuid
13t_getsid t_mkfifo t_sigaction
11 14
12Tests passing after adjustments: 15Tests passing after adjustments:
13t_chroot - fchroot is not implemented 16t_chroot - fchroot is not implemented
14t_clock_gettime - requires sysctlbyname 17t_clock_gettime - requires sysctlbyname
15t_dup - OpenBSD dup3 is similar to Linux dup3 18t_dup - OpenBSD dup3 is similar to Linux dup3
16t_fsync - replace mkstemp 19t_fork - add reallocarr function, remove clone(2) tests
17t_getrusage - no expected fail, PR kern/30115 is NetBSD, work more 20t_fsync - replace mkstemp
18t_mknod - remove tests for unsupported file types 21t_getrusage - no expected fail, PR kern/30115 is NetBSD, work more
19t_msgget - remove msgget_limit test 22t_kevent - no EVFILT_USER, DRVCTLDEV, passing kqueue forbidden
20t_poll - remove pollts_* tests 23t_mknod - remove tests for unsupported file types
21t_ptrace - change EPERM -> EINVAL for PT_ATTACH of a parent 24t_msgget - remove msgget_limit test
22t_revoke - remove basic tests, revoke only on ttys supported 25t_poll - remove pollts_* tests
23t_select - remove sigset_t struct as it is int on OpenBSD 26t_ptrace - change EPERM -> EINVAL for PT_ATTACH of a parent
27t_revoke - remove basic tests, revoke only on ttys supported
28t_select - remove sigset_t struct as it is int on OpenBSD
29t_setrlimit - remove unsupported resource parameters and lwp
30t_syscall - add __syscall prototype
31t_wait_noproc - waitid and wait6 are not implemented
32t_wait_noproc_wnohang - waitid and wait6 are not implemented
24 33
25Failing tests: 34Failing tests:
26t_mlock - wrong errno, succeeds where not expected, POSIX imprecise 35t_mlock - wrong errno, succeeds where not expected, POSIX imprecise
@@ -28,40 +37,37 @@ t_mmap - ENOTBLK on test NetBSD is skipping, remove mmap_va0 test
28t_msgrcv - msgrcv(id, &r, 3 - 1, 0x41, 004000) != -1 37t_msgrcv - msgrcv(id, &r, 3 - 1, 0x41, 004000) != -1
29t_pipe2 - closefrom(4) == -1, remove F_GETNOSIGPIPE and nosigpipe test 38t_pipe2 - closefrom(4) == -1, remove F_GETNOSIGPIPE and nosigpipe test
30t_stat - invalid GID with doas 39t_stat - invalid GID with doas
31t_syscall - SIGSEGV
32t_unlink - wrong errno according to POSIX 40t_unlink - wrong errno according to POSIX
41t_vfork - !(((status) & 0177) == 0) evaluated to false, SIGSTOP wrong
33 42
34Excluded tests: 43Excluded tests:
35t_clock_nanosleep - not available 44t_clock_nanosleep - not available
36t_clone - not available 45t_clone - not available
37t_connect - 46t_futex_ops - no lwp
38t_fork - 47t_futex_robust - no lwp
39t_getcontext - 48t_getcontext - not available, removed in POSIX.1-2008
40t_issetugid - 49t_getrandom - not available
41t_kevent - 50t_issetugid - works as iplemented
42t_lwp_create - not available 51t_lwp_create - not available
43t_lwp_ctl - not available 52t_lwp_ctl - not available
44t_mincore - removed 53t_mincore - removed
45t_minherit - 54t_mprotect - no exec_prot_support and no return_one in libc
46t_mprotect -
47t_nanosleep - not available 55t_nanosleep - not available
48t_posix_fadvise - 56t_pollts - not available
49t_posix_fallocate - 57t_posix_fadvise - optional POSIX Advisory Information
58t_posix_fallocate - optional POSIX Advisory Information
59t_ptrace_sigchld -
50t_ptrace_wait - 60t_ptrace_wait -
51t_ptrace_wait3 - 61t_ptrace_wait3 -
52t_ptrace_wait4 - 62t_ptrace_wait4 -
53t_ptrace_wait6 - not implemented 63t_ptrace_wait6 - not implemented
54t_ptrace_waitid - 64t_ptrace_waitid -
55t_ptrace_waitpid - 65t_ptrace_waitpid -
56t_recvmmsg - 66t_recvmmsg - not implemented, not POSIX
57t_sendmmsg - 67t_sendmmsg - not implemented, not POSIX
58t_setrlimit - 68t_sigqueue - not implemented, added in POSIX.1-2004
59t_sigqueue - 69t_sigtimedwait - not implemented, added in POSIX.1-2004
60t_sigtimedwait - 70t_swapcontext - not available, removed in POSIX.1-2008
61t_swapcontext - 71t_timer_create - not implemented, added in POSIX.1-2004
62t_timer_create - 72t_ucontext - not available, removed in POSIX.1-2008
63t_ucontext - 73t_wait - wait6 is not available, not POSIX
64t_vfork -
65t_wait -
66t_wait_noproc -
67t_wait_noproc_wnohang -