]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitef1220a7d4bbdb5fc435d691776778568dfb69a8
tree10895c54bcd1ece06cbfe9e91e4692f6d8083bcb
parent724d06b437bba9faf280842a983e69c04f244767
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