Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/librumphijack Since we're expecting to autoload mo...



details:   https://anonhg.NetBSD.org/src/rev/c4f853bb6e87
branches:  trunk
changeset: 342573:c4f853bb6e87
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Dec 29 07:17:19 2015 +0000

description:
Since we're expecting to autoload modules here, make sure that the
kernel (or rump-server) has autoload enabled.

This should finish fixing PR bin/49153

XXX The test still does not run successfully, due to another bug that
XXX was recently introduced.  This second bug is being worked on.

diffstat:

 tests/lib/librumphijack/t_tcpip.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 81a26d851792 -r c4f853bb6e87 tests/lib/librumphijack/t_tcpip.sh
--- a/tests/lib/librumphijack/t_tcpip.sh        Tue Dec 29 04:30:43 2015 +0000
+++ b/tests/lib/librumphijack/t_tcpip.sh        Tue Dec 29 07:17:19 2015 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: t_tcpip.sh,v 1.15 2015/08/26 09:19:20 martin Exp $
+#       $NetBSD: t_tcpip.sh,v 1.16 2015/12/29 07:17:19 pgoyette Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -179,6 +179,8 @@
            'echo "/export -noresvport -noresvmnt 10.1.1.100" | \
                dd of=/rump/etc/exports 2> /dev/null'
 
+       atf_check -s exit:0 rump.sysctl -q -w kern.module.autoload=1
+
        atf_check -s exit:0 -e ignore mount_ffs /dk /rump/export
        atf_check -s exit:0 -x "echo ${magicstr} > /rump/export/im_alive"
 



Home | Main Index | Thread Index | Old Index