]> www.infradead.org Git - users/hch/configfs.git/commit
selftests: mlxsw: mirror_gre: Obey TESTS
authorPetr Machata <petrm@nvidia.com>
Thu, 27 Jun 2024 14:48:49 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:55:38 +0000 (10:55 +0100)
commit098ba97d0e895c204de95f933bfbfad9344206a5
treefff7102e22f6ef9937755c1d91baecd0763c8fe7
parent06704a0d5e6789be52dfcb2401216c9a02140789
selftests: mlxsw: mirror_gre: Obey TESTS

This test is unusual in that overriding TESTS does not change the tests to
be run. Split the individual tests into several functions and invoke them
through tests_run() as appropriate.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh