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