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 mips panic should be fixed on head.



details:   https://anonhg.NetBSD.org/src/rev/cbd3ff216b4e
branches:  trunk
changeset: 828722:cbd3ff216b4e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 28 18:41:33 2017 +0000

description:
mips panic should be fixed on head.

diffstat:

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

diffs (54 lines):

diff -r 82a8e1a32542 -r cbd3ff216b4e tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Thu Dec 28 18:29:45 2017 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Thu Dec 28 18:41:33 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.21 2017/12/28 09:47:52 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.22 2017/12/28 18:41:33 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.21 2017/12/28 09:47:52 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.22 2017/12/28 18:41:33 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -4311,17 +4311,6 @@
 #endif
        struct fpreg r;
 
-       /* pmax kernel 8.99.9 panics */
-       char *machine;
-       size_t mlen;
-       machine = asysctlbyname("hw.machine", &mlen);
-       ATF_REQUIRE(machine);
-       if (strcmp(machine, "pmax") == 0) {
-               atf_tc_expect_fail("PR port-pmax/52871");
-               ATF_REQUIRE(0 && "In order to get reliable failure, abort");
-       }
-       free(machine);
-
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);
        if (child == 0) {
@@ -4377,17 +4366,6 @@
 #endif
        struct fpreg r;
 
-       /* pmax kernel 8.99.9 panics */
-       char *machine;
-       size_t mlen;
-       machine = asysctlbyname("hw.machine", &mlen);
-       ATF_REQUIRE(machine);
-       if (strcmp(machine, "pmax") == 0) {
-               atf_tc_expect_fail("PR port-pmax/52871");
-               ATF_REQUIRE(0 && "In order to get reliable failure, abort");
-       }
-       free(machine);
-
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);
        if (child == 0) {



Home | Main Index | Thread Index | Old Index