opnsense-src/tests/sys/geom/class
Gleb Smirnoff 96950419f1 tests: don't run atf_* in a subshell
Shell limitation is that a classic function call via $() is a subshell
and atf-sh(3) commands won't work as epxected there.  Subsequently,
atf_skip inside a function won't skip a test.  The test will fail later.

A working approach is to pass desired variable name as argument to
a function and don't run subshell.

Reviewed by:		ngie
Differential Revision:	https://reviews.freebsd.org/D42646
Fixes:			ea82362219
2023-11-27 13:15:59 -08:00
..
concat tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
eli tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
gate Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mirror tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
multipath Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nop Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
part Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
raid3 tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
shsec tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
stripe tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
union tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
uzip tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
geom_subr.sh tests: don't run atf_* in a subshell 2023-11-27 13:15:59 -08:00
Makefile Add tests for gunion(8) 2023-11-16 16:15:33 +08:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00