Module Name: src Committed By: martin Date: Fri Mar 15 16:18:50 UTC 2013
Modified Files: src/tests/dev/scsipi: t_cd.c Log Message: The CD emulator has been fixed, no longer expect the test to die. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 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.5 src/tests/dev/scsipi/t_cd.c:1.6 --- src/tests/dev/scsipi/t_cd.c:1.5 Thu Mar 14 06:43:32 2013 +++ src/tests/dev/scsipi/t_cd.c Fri Mar 15 16:18:49 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: t_cd.c,v 1.5 2013/03/14 06:43:32 jmmv Exp $ */ +/* $NetBSD: t_cd.c,v 1.6 2013/03/15 16:18:49 martin Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -56,8 +56,12 @@ ATF_TC_BODY(noisyeject, tc) RL(part = getrawpartition()); fname[strlen(fname)-1] = 'a' + part; rump_init(); + /* + * Rump CD emulation has been fixed, so no longer a problem. + * 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));