View | Details | Raw Unified | Return to bug 237051 | Differences between
and this patch

Collapse All | Expand All

(-)tests/sys/geom/class/mirror/component_selection.sh (+8 lines)
Lines 9-14 Link Here
9
}
9
}
10
run_latest_genid_body()
10
run_latest_genid_body()
11
{
11
{
12
	load_gnop
12
	. $(atf_get_srcdir)/conf.sh
13
	. $(atf_get_srcdir)/conf.sh
13
14
14
	f1=$(mktemp ${base}.XXXXXX)
15
	f1=$(mktemp ${base}.XXXXXX)
Lines 131-133 Link Here
131
{
132
{
132
	atf_add_test_case run_latest_genid
133
	atf_add_test_case run_latest_genid
133
}
134
}
135
136
load_gnop()
137
{
138
	if ! kldstat -q -m g_nop; then
139
		geom nop load || atf_skip "could not load module for geom nop"
140
	fi
141
}

Return to bug 237051