selftests: openvswitch: Catch cases where the tests are killed
authorAaron Conole <aconole@redhat.com>
Wed, 11 Oct 2023 19:49:37 +0000 (15:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Oct 2023 19:02:51 +0000 (20:02 +0100)
commitaf846afad5ca1c1a24d320adf9e48255e97db84e
tree0dfc2cec5023de9aa9f0c5eb8764dd9508f53e5e
parent92e37f20f20a23fec4626ae72eda50f127acb130
selftests: openvswitch: Catch cases where the tests are killed

In case of fatal signal, or early abort at least cleanup the current
test case.

Fixes: 25f16c873fb1 ("selftests: add openvswitch selftest suite")
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/openvswitch/openvswitch.sh