diff options
| author | bluhm <> | 2020-11-09 23:18:51 +0000 |
|---|---|---|
| committer | bluhm <> | 2020-11-09 23:18:51 +0000 |
| commit | c369d42df84f5bdabcac9041e6c5680a0cbfeaf9 (patch) | |
| tree | 2233f16128b2705882f46a8369c9f9f47f40af5c /src/regress/lib/libc/sys/Makefile | |
| parent | 999ec352efbeb24cccd1d584b91a659b15764151 (diff) | |
| download | openbsd-c369d42df84f5bdabcac9041e6c5680a0cbfeaf9.tar.gz openbsd-c369d42df84f5bdabcac9041e6c5680a0cbfeaf9.tar.bz2 openbsd-c369d42df84f5bdabcac9041e6c5680a0cbfeaf9.zip | |
Sync libc syscall tests with changes in upstream NetBSD. Use #ifdef
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.
Diffstat (limited to 'src/regress/lib/libc/sys/Makefile')
| -rw-r--r-- | src/regress/lib/libc/sys/Makefile | 43 |
1 files changed, 27 insertions, 16 deletions
diff --git a/src/regress/lib/libc/sys/Makefile b/src/regress/lib/libc/sys/Makefile index c22d08da74..db67e9078a 100644 --- a/src/regress/lib/libc/sys/Makefile +++ b/src/regress/lib/libc/sys/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.5 2020/10/06 09:20:29 mpi Exp $ | 1 | # $OpenBSD: Makefile,v 1.6 2020/11/09 23:18:51 bluhm Exp $ |
| 2 | 2 | ||
| 3 | # Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> | 3 | # Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> |
| 4 | # Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> | 4 | # Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> |
| @@ -26,24 +26,35 @@ REGRESS_TARGETS = ${PROGS:S/^/run-/} | |||
| 26 | .endif | 26 | .endif |
| 27 | 27 | ||
| 28 | PROGS = | 28 | PROGS = |
| 29 | PROGS += t_access t_bind t_chroot t_clock_gettime t_dup t_fsync | 29 | PROGS += t_access |
| 30 | PROGS += t_bind | ||
| 31 | PROGS += t_chroot t_clock_gettime | ||
| 32 | PROGS += t_dup | ||
| 33 | PROGS += t_fsync | ||
| 30 | PROGS += t_getgroups t_getitimer t_getlogin t_getpid t_getrusage | 34 | PROGS += t_getgroups t_getitimer t_getlogin t_getpid t_getrusage |
| 31 | PROGS += t_getsid t_getsockname t_gettimeofday t_kill t_link t_listen | 35 | PROGS += t_getsid t_getsockname t_gettimeofday |
| 32 | PROGS += t_mkdir t_mknod t_msgctl t_msgget t_msgsnd t_msync t_pipe | 36 | PROGS += t_kill |
| 33 | PROGS += t_poll t_ptrace t_revoke t_select t_sendrecv t_setuid | 37 | PROGS += t_link t_listen |
| 34 | PROGS += t_socketpair t_sigaction t_truncate t_umask t_write | 38 | PROGS += t_mkdir t_mkfifo t_mknod t_mlock t_mmap |
| 39 | PROGS += t_msgctl t_msgget t_msgrcv t_msgsnd t_msync | ||
| 40 | PROGS += t_pipe t_pipe2 t_poll t_ptrace | ||
| 41 | PROGS += t_revoke | ||
| 42 | PROGS += t_select t_sendrecv t_setuid t_socketpair t_sigaction t_stat | ||
| 43 | PROGS += t_syscall | ||
| 44 | PROGS += t_truncate | ||
| 45 | PROGS += t_umask t_unlink | ||
| 46 | PROGS += t_write | ||
| 35 | 47 | ||
| 36 | # failing tests | 48 | # failing tests |
| 37 | .if 0 | 49 | REGRESS_EXPECTED_FAILURES = |
| 38 | PROGS += t_mkfifo | 50 | REGRESS_EXPECTED_FAILURES += run-t_mlock-4 |
| 39 | PROGS += t_mlock | 51 | REGRESS_EXPECTED_FAILURES += run-t_mmap-1 run-t_mmap-3 |
| 40 | PROGS += t_mmap | 52 | REGRESS_EXPECTED_FAILURES += run-t_msgrcv-3 |
| 41 | PROGS += t_msgrcv | 53 | REGRESS_EXPECTED_FAILURES += run-t_pipe2-2 |
| 42 | PROGS += t_pipe2 | 54 | REGRESS_EXPECTED_FAILURES += run-t_stat-1 run-t_stat-4 run-t_stat-5 |
| 43 | PROGS += t_stat | 55 | REGRESS_EXPECTED_FAILURES += run-t_stat-6 run-t_stat-8 |
| 44 | PROGS += t_syscall | 56 | REGRESS_EXPECTED_FAILURES += run-t_syscall-1 |
| 45 | PROGS += t_unlink | 57 | REGRESS_EXPECTED_FAILURES += run-t_unlink-2 |
| 46 | .endif | ||
| 47 | 58 | ||
| 48 | . for p in ${PROGS} | 59 | . for p in ${PROGS} |
| 49 | SRCS_$p = $p.c atf-c.c | 60 | SRCS_$p = $p.c atf-c.c |
