selftests: net: kill smcrouted in the cleanup logic in amt.sh
authorTaehee Yoo <ap420073@gmail.com>
Sat, 18 May 2024 13:20:52 +0000 (13:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2024 10:39:07 +0000 (11:39 +0100)
commitcc563e749810f5636451d4b833fbd689899ecdb9
tree08092aafc09684063122dc588dd24e56da57c62a
parent5447f9708d9e4c17a647b16a9cb29e9e02820bd9
selftests: net: kill smcrouted in the cleanup logic in amt.sh

The amt.sh requires smcrouted for multicasting routing.
So, it starts smcrouted before forwarding tests.
It must be stopped after all tests, but it isn't.

To fix this issue, it kills smcrouted in the cleanup logic.

Fixes: c08e8baea78e ("selftests: add amt interface selftest script")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/amt.sh