Skip to content

Commit af846af

Browse files
apconoledavem330
authored andcommitted
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: 25f16c8 ("selftests: add openvswitch selftest suite") Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 92e37f2 commit af846af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/testing/selftests/net/openvswitch/openvswitch.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#
44
# OVS kernel module self tests
55

6+
trap ovs_exit_sig EXIT TERM INT ERR
7+
68
# Kselftest framework requirement - SKIP code is 4.
79
ksft_skip=4
810

0 commit comments

Comments
 (0)