]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu.sh: use $ksft_skip for skipped return code
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Tue, 10 Nov 2020 02:00:48 +0000 (10:00 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 15:56:30 +0000 (07:56 -0800)
commit9bf45dbf1269646ef27e85185b05c0bae2d0ce98
tree10895c54bcd1ece06cbfe9e91e4692f6d8083bcb
parentac81e52744079cde887e18386d4755fc2cd1d59c
selftests: pmtu.sh: use $ksft_skip for skipped return code

This test uses return code 2 as a hard-coded skipped state, let's use
the kselftest framework skip code variable $ksft_skip instead to make
it more readable and easier to maintain.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/pmtu.sh