mirror of
https://github.com/opnsense/src.git
synced 2026-06-23 15:40:20 -04:00
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:
|
||
|---|---|---|
| .. | ||
| concat | ||
| eli | ||
| gate | ||
| mirror | ||
| multipath | ||
| nop | ||
| part | ||
| raid3 | ||
| shsec | ||
| stripe | ||
| union | ||
| uzip | ||
| geom_subr.sh | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.inc | ||