bpf, selftests: delete xfrm tunnel when test exits.
authorWilliam Tu <u9012063@gmail.com>
Thu, 14 Jun 2018 12:01:06 +0000 (05:01 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Jun 2018 01:31:52 +0000 (03:31 +0200)
commit26bf8a89d887c0686acef0f44eaadd49abfcab03
tree73d5d450030c512b5a7df197667f75aa26ecaa71
parent36ffdbc0a2d9f7280e49dbe5ea53c289ad112a8c
bpf, selftests: delete xfrm tunnel when test exits.

Make the printting of bpf xfrm tunnel better and
cleanup xfrm state and policy when xfrm test finishes.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_tunnel.sh