Date: Tue, 24 Nov 2015 23:45:38 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r291270 - user/ngie/more-tests2/sbin/geom/class/tests/gate Message-ID: <201511242345.tAONjcW3054914@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Tue Nov 24 23:45:38 2015 New Revision: 291270 URL: https://svnweb.freebsd.org/changeset/base/291270 Log: Load geom_gate.ko via kldload as `[geom ]gate load` isn't implemented. Every time geom_subr.sh tries to run the command, it'll fail Modified: user/ngie/more-tests2/sbin/geom/class/tests/gate/conf.sh Modified: user/ngie/more-tests2/sbin/geom/class/tests/gate/conf.sh ============================================================================== --- user/ngie/more-tests2/sbin/geom/class/tests/gate/conf.sh Tue Nov 24 23:44:06 2015 (r291269) +++ user/ngie/more-tests2/sbin/geom/class/tests/gate/conf.sh Tue Nov 24 23:45:38 2015 (r291270) @@ -5,4 +5,6 @@ name="$(mktemp -u gate.XXXXXX)" class="gate" base=`basename $0` +kldstat -q -m g_${class} || kldload geom_${class} || exit 1 + . `dirname $0`/../geom_subr.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511242345.tAONjcW3054914>