Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/dev/scsipi The CD emulator has been fixed, no longer e...



details:   https://anonhg.NetBSD.org/src/rev/9adf17922821
branches:  trunk
changeset: 785477:9adf17922821
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Mar 15 16:18:49 2013 +0000

description:
The CD emulator has been fixed, no longer expect the test to die.

diffstat:

 tests/dev/scsipi/t_cd.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 5334f3c41faf -r 9adf17922821 tests/dev/scsipi/t_cd.c
--- a/tests/dev/scsipi/t_cd.c   Fri Mar 15 16:16:12 2013 +0000
+++ b/tests/dev/scsipi/t_cd.c   Fri Mar 15 16:18:49 2013 +0000
@@ -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 @@
        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));
 



Home | Main Index | Thread Index | Old Index