]> www.infradead.org Git - users/hch/misc.git/commit
selftests: net: fix IOAM test skip return code
authorKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 1 Aug 2022 12:46:15 +0000 (14:46 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 2 Aug 2022 07:51:31 +0000 (09:51 +0200)
commit1995943c3f2a59d73efe8bf9b33a92d0f1812af3
tree738f20bc8245d22ed2d89754107e461014aa60f5
parent969e26c63d309c3555905f894560bcdee42f3464
selftests: net: fix IOAM test skip return code

The ioam6.sh test script exits with an error code (1) when tests are
skipped due to lack of support from userspace/kernel or not enough
permissions. It should return the kselftests SKIP code instead.

Reviewed-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Link: https://lore.kernel.org/r/20220801124615.256416-1-kleber.souza@canonical.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/ioam6.sh