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/README68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/regress/lib/libc/sys/README b/src/regress/lib/libc/sys/README
new file mode 100644
index 0000000000..979f3bde4a
--- /dev/null
+++ b/src/regress/lib/libc/sys/README
@@ -0,0 +1,68 @@
1Regression tests for system calls ported from NetBSD.
2
3Reimplement ATF with many hacks to adjust the tests as little as possible.
4
5Tests passing without source file adjustments:
6t_access t_getpid t_kill t_msgsnd t_sigaction
7t_bind t_link t_msync t_socketpair t_getgroups
8t_getsid t_listen t_pipe t_truncate t_getitimer
9t_getsockname t_mkdir t_sendrecv t_umask t_getlogin
10t_gettimeofday t_msgctl t_setuid t_write
11
12Tests passing after adjustments:
13t_chroot - fchroot is not implemented
14t_clock_gettime - requires sysctlbyname
15t_dup - OpenBSD dup3 is similar to Linux dup3
16t_fsync - replace mkstemp
17t_getrusage - no expected fail, PR kern/30115 is NetBSD, work more
18t_mknod - remove tests for unsupported file types
19t_msgget - remove msgget_limit test
20t_poll - remove pollts_* tests
21t_revoke - remove basic tests, revoke only on ttys supported
22t_select - remove sigset_t struct as it is int on OpenBSD
23
24Failing tests:
25t_mkfifo - every test case fails now
26t_mlock - wrong errno, succeeds where not expected, POSIX imprecise
27t_mmap - ENOTBLK on test NetBSD is skipping, remove mmap_va0 test
28t_msgrcv - msgrcv(id, &r, 3 - 1, 0x41, 004000) != -1
29t_pipe2 - closefrom(4) == -1, remove F_GETNOSIGPIPE and nosigpipe test
30t_ptrace - ptrace(0, 0, ((void *)0), 0) != -1
31t_stat - invalid GID with doas
32t_syscall - SIGSEGV
33t_unlink - wrong errno according to POSIX
34
35Excluded tests:
36t_clock_nanosleep - not available
37t_clone - not available
38t_connect -
39t_fork -
40t_getcontext -
41t_issetugid -
42t_kevent -
43t_lwp_create - not available
44t_lwp_ctl - not available
45t_mincore - removed
46t_minherit -
47t_mprotect -
48t_nanosleep - not available
49t_posix_fadvise -
50t_posix_fallocate -
51t_ptrace_wait -
52t_ptrace_wait3 -
53t_ptrace_wait4 -
54t_ptrace_wait6 - not implemented
55t_ptrace_waitid -
56t_ptrace_waitpid -
57t_recvmmsg -
58t_sendmmsg -
59t_setrlimit -
60t_sigqueue -
61t_sigtimedwait -
62t_swapcontext -
63t_timer_create -
64t_ucontext -
65t_vfork -
66t_wait -
67t_wait_noproc -
68t_wait_noproc_wnohang -