Skip to content

selftests: sync test conversion to TAP13

Shuah Khan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: sync: differentiate between sync unsupported and access errorstools/testing/selftests/sync/sync_test.c+19 -40 replies
2/3selftests: kselftest framework: add API to return pass/fail/* countstools/testing/selftests/kselftest.h+10 -00 replies
3/3selftests: sync: convert to use TAP13 ksft frameworktools/testing/selftests/sync/sync_test.c tools/testing/selftests/sync/synctest.h+41 -340 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGustavo Padovan
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] selftests: sync test conversion to TAP13

This patch series includes patches to convert sync test to use TAP13 ksft framework. In addition, fix to sync test to differentiate between unsupported feature and access error when a non-root user runs it.

Updated kfst framework to return counters for sync test to use to print the final pass or fail summary message. Updated ksft+print_cnts() to print counters to summarize the test results.

Shuah Khan (3):
selftests: sync: differentiate between sync unsupported and access
errors
selftests: kselftest framework: add API to return pass/fail/* counts
selftests: sync: convert to use TAP13 ksft framework

 tools/testing/selftests/kselftest.h      | 10 +++++
 tools/testing/selftests/sync/sync_test.c | 71 +++++++++++++++++++++-----------
 tools/testing/selftests/sync/synctest.h  |  3 +-
 3 files changed, 58 insertions(+), 26 deletions(-)
Signature · 1 line
2.11.0