]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedc81c4cb1466e3d5b46ac8b613bf4986a2392b3
tree78b53307dd426075149119b88306c2337e60d539
parent7bf0f5242d83a8eb4b712de77054282a2e50a881
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