summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom_subr.sh
blob: 60478297aa74d1111653c30b7c0fecf9cf8dd532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# $FreeBSD$

kldstat -q -m g_${class} || g${class} load || exit 1

devwait()
{
	while :; do
		if [ -c /dev/${class}/${name} ]; then
			return
		fi
		sleep 0.2
	done
}
OpenPOWER on IntegriCloud