netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests: pmtu.sh: improve the test result processing
@ 2020-11-05 10:50 Po-Hsu Lin
  2020-11-05 10:50 ` [PATCH 1/2] selftests: pmtu.sh: use $ksft_skip for skipped return code Po-Hsu Lin
  2020-11-05 10:50 ` [PATCH 2/2] selftests: pmtu.sh: improve the test result processing Po-Hsu Lin
  0 siblings, 2 replies; 7+ messages in thread
From: Po-Hsu Lin @ 2020-11-05 10:50 UTC (permalink / raw)
  To: netdev, linux-kselftest, linux-kernel; +Cc: davem, kuba, skhan, po-hsu.lin

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.

Po-Hsu Lin (2):
  selftests: pmtu.sh: use $ksft_skip for skipped return code
  selftests: pmtu.sh: improve the test result processing

 tools/testing/selftests/net/pmtu.sh | 83 ++++++++++++++++++++++---------------
 1 file changed, 50 insertions(+), 33 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-10  1:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:50 [PATCH 0/2] selftests: pmtu.sh: improve the test result processing Po-Hsu Lin
2020-11-05 10:50 ` [PATCH 1/2] selftests: pmtu.sh: use $ksft_skip for skipped return code Po-Hsu Lin
2020-11-05 10:50 ` [PATCH 2/2] selftests: pmtu.sh: improve the test result processing Po-Hsu Lin
2020-11-07 23:02   ` Jakub Kicinski
2020-11-09  3:42     ` Po-Hsu Lin
2020-11-09 18:09       ` Jakub Kicinski
2020-11-10  1:36         ` Po-Hsu Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).