summaryrefslogtreecommitdiffstats
path: root/tests/sys/geom/class/gate/conf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys/geom/class/gate/conf.sh')
-rwxr-xr-xtests/sys/geom/class/gate/conf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sys/geom/class/gate/conf.sh b/tests/sys/geom/class/gate/conf.sh
new file mode 100755
index 0000000..4eede08
--- /dev/null
+++ b/tests/sys/geom/class/gate/conf.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# $FreeBSD$
+
+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
OpenPOWER on IntegriCloud