Module Name: src
Committed By: martin
Date: Sat Apr 9 06:36:03 UTC 2011
Modified Files:
src/tests/kernel/tty: t_pr.c
Log Message:
No longer expected to crash the kernel.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/kernel/tty/t_pr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/kernel/tty/t_pr.c
diff -u src/tests/kernel/tty/t_pr.c:1.3 src/tests/kernel/tty/t_pr.c:1.4
--- src/tests/kernel/tty/t_pr.c:1.3 Wed Nov 3 16:10:20 2010
+++ src/tests/kernel/tty/t_pr.c Sat Apr 9 06:36:03 2011
@@ -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);
}