diff options
| author | mpi <> | 2020-01-30 08:22:30 +0000 |
|---|---|---|
| committer | mpi <> | 2020-01-30 08:22:30 +0000 |
| commit | 668fa98385559e6ca53555e32da8e7eb618f0d80 (patch) | |
| tree | a7ed8c6b1fae21213c4669bd2c105cf274af844f /src/regress/lib/libc/sys/Makefile | |
| parent | a9c1dd59a3357c18bee994783c7c8ed45d3e593a (diff) | |
| download | openbsd-668fa98385559e6ca53555e32da8e7eb618f0d80.tar.gz openbsd-668fa98385559e6ca53555e32da8e7eb618f0d80.tar.bz2 openbsd-668fa98385559e6ca53555e32da8e7eb618f0d80.zip | |
Enable t_ptrace with an errno change compared to NetBSD.
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.
Diffstat (limited to 'src/regress/lib/libc/sys/Makefile')
| -rw-r--r-- | src/regress/lib/libc/sys/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/regress/lib/libc/sys/Makefile b/src/regress/lib/libc/sys/Makefile index e30e0a08fb..8c2c6eb3f8 100644 --- a/src/regress/lib/libc/sys/Makefile +++ b/src/regress/lib/libc/sys/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.2 2020/01/13 17:06:56 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2020/01/30 08:22:30 mpi 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> |
| @@ -30,8 +30,8 @@ PROGS += t_access t_bind t_chroot t_clock_gettime t_dup t_fsync | |||
| 30 | PROGS += t_getgroups t_getitimer t_getlogin t_getpid t_getrusage | 30 | 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 | 31 | PROGS += t_getsid t_getsockname t_gettimeofday t_kill t_link t_listen |
| 32 | PROGS += t_mkdir t_mknod t_msgctl t_msgget t_msgsnd t_msync t_pipe | 32 | PROGS += t_mkdir t_mknod t_msgctl t_msgget t_msgsnd t_msync t_pipe |
| 33 | PROGS += t_poll t_revoke t_select t_sendrecv t_setuid t_socketpair | 33 | PROGS += t_poll t_ptrace t_revoke t_select t_sendrecv t_setuid |
| 34 | PROGS += t_sigaction t_truncate t_umask t_write | 34 | PROGS += t_socketpair t_sigaction t_truncate t_umask t_write |
| 35 | 35 | ||
| 36 | # failing tests | 36 | # failing tests |
| 37 | .if 0 | 37 | .if 0 |
| @@ -40,7 +40,6 @@ PROGS += t_mlock | |||
| 40 | PROGS += t_mmap | 40 | PROGS += t_mmap |
| 41 | PROGS += t_msgrcv | 41 | PROGS += t_msgrcv |
| 42 | PROGS += t_pipe2 | 42 | PROGS += t_pipe2 |
| 43 | PROGS += t_ptrace | ||
| 44 | PROGS += t_stat | 43 | PROGS += t_stat |
| 45 | PROGS += t_syscall | 44 | PROGS += t_syscall |
| 46 | PROGS += t_unlink | 45 | PROGS += t_unlink |
| @@ -57,8 +56,9 @@ setup-t_truncate: | |||
| 57 | ${SUDO} touch truncate_test.root_owned | 56 | ${SUDO} touch truncate_test.root_owned |
| 58 | ${SUDO} chown root:wheel truncate_test.root_owned | 57 | ${SUDO} chown root:wheel truncate_test.root_owned |
| 59 | 58 | ||
| 60 | run-t_chroot: cleanup-t_chroot | 59 | run-t_chroot: cleanup-dir |
| 61 | cleanup-t_chroot: | 60 | run-t_ptrace: cleanup-dir |
| 61 | cleanup-dir: | ||
| 62 | ${SUDO} rm -rf dir | 62 | ${SUDO} rm -rf dir |
| 63 | 63 | ||
| 64 | CLEANFILES = access dummy mmap truncate_test.root_owned | 64 | CLEANFILES = access dummy mmap truncate_test.root_owned |
| @@ -100,3 +100,5 @@ run-${PROG}-$n: | |||
| 100 | .endif | 100 | .endif |
| 101 | 101 | ||
| 102 | .include <bsd.regress.mk> | 102 | .include <bsd.regress.mk> |
| 103 | |||
| 104 | clean: cleanup-dir | ||
