diff options
| author | kamil <kamil@NetBSD.org> | 2017-12-21 09:56:47 +0000 |
|---|---|---|
| committer | kamil <kamil@NetBSD.org> | 2017-12-21 09:56:47 +0000 |
| commit | 5eeb8f87fe177bdb559526aa111ec8ffd0038db5 (patch) | |
| tree | ba2785c2336548cc8586a82f3b22d43c17549b69 /tests/lib/libc | |
| parent | b1a7255326684ad10048c57b22c717511ee31b0f (diff) | |
t_ptrace_wait*: Disable suspend* tests
These tests can hang the system. These interfaces will be improved and
temporarily disable them.
Diffstat (limited to 'tests/lib/libc')
| -rw-r--r-- | tests/lib/libc/sys/t_ptrace_wait.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/lib/libc/sys/t_ptrace_wait.c b/tests/lib/libc/sys/t_ptrace_wait.c index 03768b0374a..d04fd96f07b 100644 --- a/tests/lib/libc/sys/t_ptrace_wait.c +++ b/tests/lib/libc/sys/t_ptrace_wait.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.15 2017/12/18 19:20:40 christos Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.16 2017/12/21 09:56:47 kamil Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.15 2017/12/18 19:20:40 christos Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.16 2017/12/21 09:56:47 kamil Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -7063,6 +7063,9 @@ ATF_TC_BODY(suspend1, tc) struct ptrace_siginfo psi; volatile int go = 0; + // Hangs with qemu + ATF_REQUIRE(0 && "In order to get reliable failure, abort"); + DPRINTF("Before forking process PID=%d\n", getpid()); SYSCALL_REQUIRE((child = fork()) != -1); if (child == 0) { @@ -7184,6 +7187,9 @@ ATF_TC_BODY(suspend2, tc) #endif struct ptrace_siginfo psi; + // Hangs with qemu + ATF_REQUIRE(0 && "In order to get reliable failure, abort"); + DPRINTF("Before forking process PID=%d\n", getpid()); SYSCALL_REQUIRE((child = fork()) != -1); if (child == 0) { |
