Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/dev/scsipi Expect a crash in the noisyeject test. Men...
details: https://anonhg.NetBSD.org/src/rev/1da27a3e1478
branches: trunk
changeset: 785445:1da27a3e1478
user: jmmv <jmmv%NetBSD.org@localhost>
date: Thu Mar 14 06:43:32 2013 +0000
description:
Expect a crash in the noisyeject test. Mention PR kern/47646.
diffstat:
tests/dev/scsipi/t_cd.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 296f4919a833 -r 1da27a3e1478 tests/dev/scsipi/t_cd.c
--- a/tests/dev/scsipi/t_cd.c Thu Mar 14 06:03:44 2013 +0000
+++ b/tests/dev/scsipi/t_cd.c Thu Mar 14 06:43:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_cd.c,v 1.4 2012/05/06 17:27:22 martin Exp $ */
+/* $NetBSD: t_cd.c,v 1.5 2013/03/14 06:43:32 jmmv Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -30,6 +30,7 @@
#include <atf-c.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdio.h>
#include <util.h>
@@ -55,6 +56,8 @@
RL(part = getrawpartition());
fname[strlen(fname)-1] = 'a' + part;
rump_init();
+ atf_tc_expect_signal(SIGSEGV, "PR kern/47646: Broken test or "
+ "a real problem in rump or the driver");
RL(fd = rump_sys_open(fname, O_RDWR));
RL(rump_sys_ioctl(fd, DIOCEJECT, &arg));
Home |
Main Index |
Thread Index |
Old Index