FreeBSD Bugzilla – Attachment 203412 Details for
Bug 237051
Skip sys/geom/class/mirror/component_selection:run_latest_genid if gmirror/gnop GEOM classes aren't available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to skip tests if geom_nop not available
tests_sys_geom_class_mirror.diff (text/plain), 579 bytes, created by
Olivier Cochard
on 2019-04-05 15:24:30 UTC
(
hide
)
Description:
Patch to skip tests if geom_nop not available
Filename:
MIME Type:
Creator:
Olivier Cochard
Created:
2019-04-05 15:24:30 UTC
Size:
579 bytes
patch
obsolete
>Index: tests/sys/geom/class/mirror/component_selection.sh >=================================================================== >--- tests/sys/geom/class/mirror/component_selection.sh (revision 345906) >+++ tests/sys/geom/class/mirror/component_selection.sh (working copy) >@@ -9,6 +9,7 @@ > } > run_latest_genid_body() > { >+ load_gnop > . $(atf_get_srcdir)/conf.sh > > f1=$(mktemp ${base}.XXXXXX) >@@ -131,3 +132,10 @@ > { > atf_add_test_case run_latest_genid > } >+ >+load_gnop() >+{ >+ if ! kldstat -q -m g_nop; then >+ geom nop load || atf_skip "could not load module for geom nop" >+ fi >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237051
:
203412
|
203413