diff options
| author | martin <martin@NetBSD.org> | 2011-04-09 06:36:03 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2011-04-09 06:36:03 +0000 |
| commit | 16135ea96ffb48ddb4dd7eddf69e387ebbaac76d (patch) | |
| tree | a325d7f838ba615c5423899ff8106a1a5c993ccb /tests/kernel/tty | |
| parent | f3d1d739eade435d2bde3eed005607ec2086f178 (diff) | |
No longer expected to crash the kernel.
Diffstat (limited to 'tests/kernel/tty')
| -rw-r--r-- | tests/kernel/tty/t_pr.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/kernel/tty/t_pr.c b/tests/kernel/tty/t_pr.c index 29d9ded64aa..9f8e493ba94 100644 --- a/tests/kernel/tty/t_pr.c +++ b/tests/kernel/tty/t_pr.c @@ -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 @@ ATF_TC_BODY(ptyioctl, tc) 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); } |
