Date: Tue, 23 Apr 2019 21:07:47 +0000 (UTC) From: Olivier Cochard <olivier@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r346605 - head/tests/sys/geom/class/mirror Message-ID: <201904232107.x3NL7lKD023645@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivier (ports committer) Date: Tue Apr 23 21:07:47 2019 New Revision: 346605 URL: https://svnweb.freebsd.org/changeset/base/346605 Log: Skip test component_selection:run_latest_genid if gmirror/gnop GEOM classes aren't available PR: 237051 Reviewed by: asomers, imp, ngie, emaste (IRC) Approved by: ngie MFC after: 1 month Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D19958 Modified: head/tests/sys/geom/class/mirror/component_selection.sh Modified: head/tests/sys/geom/class/mirror/component_selection.sh ============================================================================== --- head/tests/sys/geom/class/mirror/component_selection.sh Tue Apr 23 20:25:25 2019 (r346604) +++ head/tests/sys/geom/class/mirror/component_selection.sh Tue Apr 23 21:07:47 2019 (r346605) @@ -1,5 +1,9 @@ # $FreeBSD$ +ATF_TEST=true +class=mirror +. $(atf_get_srcdir)/conf.sh + atf_test_case run_latest_genid cleanup run_latest_genid_head() { @@ -9,7 +13,10 @@ run_latest_genid_head() } run_latest_genid_body() { - . $(atf_get_srcdir)/conf.sh + geom_atf_test_setup + if ! error_message=$(geom_load_class_if_needed nop); then + atf_skip "$error_message" + fi f1=$(mktemp ${base}.XXXXXX) f2=$(mktemp ${base}.XXXXXX)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904232107.x3NL7lKD023645>