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: 25f16c873f
("selftests: add openvswitch selftest suite")
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
92e37f20f2
commit
af846afad5
@ -3,6 +3,8 @@
|
|||||||
#
|
#
|
||||||
# OVS kernel module self tests
|
# OVS kernel module self tests
|
||||||
|
|
||||||
|
trap ovs_exit_sig EXIT TERM INT ERR
|
||||||
|
|
||||||
# Kselftest framework requirement - SKIP code is 4.
|
# Kselftest framework requirement - SKIP code is 4.
|
||||||
ksft_skip=4
|
ksft_skip=4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user