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 Disable the mmap_block test again, it doe...



details:   https://anonhg.NetBSD.org/src/rev/5590630f00ee
branches:  trunk
changeset: 779735:5590630f00ee
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Jun 14 17:47:58 2012 +0000

description:
Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
only by accident. PR kern/46592.

diffstat:

 tests/lib/libc/sys/t_mmap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 5693b640a47d -r 5590630f00ee tests/lib/libc/sys/t_mmap.c
--- a/tests/lib/libc/sys/t_mmap.c       Thu Jun 14 09:28:02 2012 +0000
+++ b/tests/lib/libc/sys/t_mmap.c       Thu Jun 14 17:47:58 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mmap.c,v 1.6 2012/06/01 15:59:21 martin Exp $ */
+/* $NetBSD: t_mmap.c,v 1.7 2012/06/14 17:47:58 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_mmap.c,v 1.6 2012/06/01 15:59:21 martin Exp $");
+__RCSID("$NetBSD: t_mmap.c,v 1.7 2012/06/14 17:47:58 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/mman.h>
@@ -170,8 +170,7 @@
        size_t len;
        int fd = -1;
 
-       atf_tc_expect_signal(SIGSEGV, "mmap of block devices does not work "
-           "(PR kern/38889)");
+       atf_tc_skip("The test case causes a panic (PR kern/38889, kern/46592)");
 
        ATF_REQUIRE(sysctl(mib, miblen, NULL, &len, NULL, 0) == 0);
        drives = malloc(len);



Home | Main Index | Thread Index | Old Index