selftests: rtnetlink: skip ipsec offload tests if netdevsim isn't present
authorFlorian Westphal <fw@strlen.de>
Thu, 27 Jun 2019 15:12:42 +0000 (17:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2019 19:18:52 +0000 (12:18 -0700)
commit3099c59db0f2d6b85389af5ac652569bac3f1ee8
tree78b53307dd426075149119b88306c2337e60d539
parentfc41388564ba3fcb8cf4b0ef24c3e220ab523085
selftests: rtnetlink: skip ipsec offload tests if netdevsim isn't present

running the script on systems without netdevsim now prints:

SKIP: ipsec_offload can't load netdevsim

instead of error message & failed status.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/rtnetlink.sh