Module Name:    src
Committed By:   jmmv
Date:           Thu Mar 14 06:43:32 UTC 2013

Modified Files:
        src/tests/dev/scsipi: t_cd.c

Log Message:
Expect a crash in the noisyeject test.  Mention PR kern/47646.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/dev/scsipi/t_cd.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/dev/scsipi/t_cd.c
diff -u src/tests/dev/scsipi/t_cd.c:1.4 src/tests/dev/scsipi/t_cd.c:1.5
--- src/tests/dev/scsipi/t_cd.c:1.4	Sun May  6 17:27:22 2012
+++ src/tests/dev/scsipi/t_cd.c	Thu Mar 14 06:43:32 2013
@@ -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 @@ ATF_TC_BODY(noisyeject, tc)
 	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));
 

Reply via email to