summaryrefslogtreecommitdiffstats
path: root/net/6lowpan
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2022-03-24 16:19:07 -0700
committerShuah Khan <skhan@linuxfoundation.org>2022-04-04 13:37:48 -0600
commit79ee8aa31d518c1fd5f3b1b1ac39dd1fb4dc7039 (patch)
treee66c9ada765c5bee06d4fff53acd633db13d683e /net/6lowpan
parent63e6b2a42342c3297cce286fb124c99be9e0f3fd (diff)
downloadlinux-79ee8aa31d518c1fd5f3b1b1ac39dd1fb4dc7039.tar.bz2
selftests/harness: Pass variant to teardown
FIXTURE_VARIANT data is passed to FIXTURE_SETUP and TEST_F as "variant". In some cases, the variant will change the setup, such that expectations also change on teardown. Also pass variant to FIXTURE_TEARDOWN. The new FIXTURE_TEARDOWN logic is identical to that in FIXTURE_SETUP, right above. Signed-off-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20201210231010.420298-1-willemdebruijn.kernel@gmail.com Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions