selftests: tc-testing: preload all modules in kselftests
authorPedro Tammela <pctammela@mojatatu.com>
Tue, 14 Nov 2023 16:04:41 +0000 (13:04 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 22:30:10 +0000 (22:30 +0000)
commitbb9623c337f5d13b15d700127281c9607d1f8ec2
tree627e9901f350d662f0bd2ce3a5a90e3436998cf3
parentfa63d353ddfb8a2d7688220a45b84e1507d211cf
selftests: tc-testing: preload all modules in kselftests

While running tdc tests in parallel it can race over the module loading
done by tc and fail the run with random errors.
So avoid this by preloading all modules before running tdc in kselftests.

Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tdc.sh