Re: git: ea82362219ee - main - tests: Skip all tests that require mdconfig when /dev/mdctl missing
Date: Fri, 22 Sep 2023 06:11:26 UTC
> On Sep 4, 2023, at 5:11 PM, Dag-Erling Smørgrav <des@des.no> wrote: > > Warner Losh <imp@bsdimp.com> writes: >> I've not been good about sleuthing out these meta-data variables. Where's the list of >> them kept? > > atf-test-case(4) > >> Also, is there a canonical way to say "I expect this result, except if >> I'm in a jail, then I expect that result"? > > I don't think so, but it wouldn't be difficult to add a > "require.unjailed" knob, or a configuration variable which indicates > whether or not the job is jailed. Doing that requires plumbing the option through kyua as well. It involves a bit more work… Cheers, -Enji