OSDN Git Service

Merge branch 'selftests-pmtu-sh-improve-the-test-result-processing'
authorJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 15:56:32 +0000 (07:56 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 15:56:33 +0000 (07:56 -0800)
commit34b93f19c92ca7720efe25e852d480bb13101dec
treeb3950632ab3a462907da3d90ee8f55b9f21cc34f
parent724d06b437bba9faf280842a983e69c04f244767
parent2a9d3716b810a4f2c8291b7aa8f358d11693f6e5
Merge branch 'selftests-pmtu-sh-improve-the-test-result-processing'

Po-Hsu Lin says:

====================
selftests: pmtu.sh: improve the test result processing

The pmtu.sh test script treats all non-zero return code as a failure,
thus it will be marked as FAILED when some sub-test got skipped.

This patchset will:
  1. Use the kselftest framework skip code $ksft_skip to replace the
     hardcoded SKIP return code.
  2. Improve the result processing, the test will be marked as PASSED
     if nothing goes wrong and not all the tests were skipped.
====================

Link: https://lore.kernel.org/r/20201110020049.6705-1-po-hsu.lin@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>