Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys make it fail instead of hang under qemu; ...



details:   https://anonhg.NetBSD.org/src/rev/3ec5e0328caf
branches:  trunk
changeset: 828543:3ec5e0328caf
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 18 19:20:40 2017 +0000

description:
make it fail instead of hang under qemu; XXX: need to investigate.

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 81ad126821d2 -r 3ec5e0328caf tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Mon Dec 18 19:08:16 2017 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Mon Dec 18 19:20:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.14 2017/12/16 14:45:25 christos Exp $      */
+/*     $NetBSD: t_ptrace_wait.c,v 1.15 2017/12/18 19:20:40 christos Exp $      */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.14 2017/12/16 14:45:25 christos Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.15 2017/12/18 19:20:40 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -7260,6 +7260,8 @@
 
        // Times out
        atf_tc_expect_timeout("PR kern/51995");
+       // Hangs with qemu
+       ATF_REQUIRE(0 && "In order to get reliable failure, abort");
 
        SYSCALL_REQUIRE(msg_open(&fds) == 0);
 



Home | Main Index | Thread Index | Old Index