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.
This commit is contained in:
pgoyette 2015-12-29 07:17:19 +00:00
parent f6b47a4477
commit 8125537222
1 changed files with 3 additions and 1 deletions

View File

@ -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. # Copyright (c) 2011 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -179,6 +179,8 @@ test_nfs()
'echo "/export -noresvport -noresvmnt 10.1.1.100" | \ 'echo "/export -noresvport -noresvmnt 10.1.1.100" | \
dd of=/rump/etc/exports 2> /dev/null' 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 -e ignore mount_ffs /dk /rump/export
atf_check -s exit:0 -x "echo ${magicstr} > /rump/export/im_alive" atf_check -s exit:0 -x "echo ${magicstr} > /rump/export/im_alive"