Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel/tty No longer expected to crash the kernel.



details:   https://anonhg.NetBSD.org/src/rev/9d8e44d7cfbc
branches:  trunk
changeset: 763971:9d8e44d7cfbc
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Apr 09 06:36:03 2011 +0000

description:
No longer expected to crash the kernel.

diffstat:

 tests/kernel/tty/t_pr.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 86c35f49553d -r 9d8e44d7cfbc tests/kernel/tty/t_pr.c
--- a/tests/kernel/tty/t_pr.c   Sat Apr 09 06:34:06 2011 +0000
+++ b/tests/kernel/tty/t_pr.c   Sat Apr 09 06:36:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_pr.c,v 1.3 2010/11/03 16:10:20 christos Exp $        */
+/*     $NetBSD: t_pr.c,v 1.4 2011/04/09 06:36:03 martin Exp $  */
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
@@ -26,8 +26,10 @@
        fd = rump_sys_open("/dev/ptyp1", O_RDWR);
        ATF_CHECK(fd != -1);
 
-       /* boom, dies with null deref under ptcwakeup() */
-       atf_tc_expect_signal(-1, "PR kern/40688");
+       /*
+        * This used to die with null deref under ptcwakeup()
+        * atf_tc_expect_signal(-1, "PR kern/40688");
+        */
        rump_sys_ioctl(fd, TIOCGETA, &tio);
 }
 



Home | Main Index | Thread Index | Old Index