mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
tests/geom: fix ATF test listing when geom class module is missing
geom_subr.sh serves both legacy TAP tests and ATF tests. It defaults to the TAP path, so ATF tests must set ATF_TEST=true before sourcing it. Sponsored by: Netflix
This commit is contained in:
1 parent
afe3e2e9c5
commit
5990a88892
2 files changed
+2
No files matched your search
@@ -27,6 +27,7 @@
|
||||
#
|
||||
|
||||
class=label
|
||||
ATF_TEST=true
|
||||
. $(atf_get_srcdir)/../geom_subr.sh
|
||||
|
||||
atf_test_case create cleanup
|
||||
|
||||
@@ -55,5 +55,6 @@ gzoned_test_cleanup()
|
||||
true
|
||||
}
|
||||
|
||||
ATF_TEST=true
|
||||
. `dirname $0`/../geom_subr.sh
|
||||
. `dirname $0`/../zoned_subr.sh
|
||||
Reference in new issue
Block a user