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:
Olivier Cochard committed 2026-09-30 01:06:00 +02:00
1 parent afe3e2e9c5
commit 5990a88892
2 files changed
+2

No files matched your search

+1
View File
@@ -27,6 +27,7 @@
#
class=label
ATF_TEST=true
. $(atf_get_srcdir)/../geom_subr.sh
atf_test_case create cleanup
+1
View File
@@ -55,5 +55,6 @@ gzoned_test_cleanup()
true
}
ATF_TEST=true
. `dirname $0`/../geom_subr.sh
. `dirname $0`/../zoned_subr.sh