lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230927-ktap-posix-timers-v1-0-399de1cbfbea@kernel.org>
Date:   Wed, 27 Sep 2023 12:18:56 +0200
From:   Mark Brown <broonie@...nel.org>
To:     Shuah Khan <shuah@...nel.org>, John Stultz <jstultz@...gle.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Stephen Boyd <sboyd@...nel.org>
Cc:     linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
        Mark Brown <broonie@...nel.org>
Subject: [PATCH 0/3] selftests: timers: Convert some more of the timers
 tests to KTAP

KTAP is the standard output format for selftests, providing a method for
systems running the selftests to get results from individual tests
rather than just a pass/fail for the test program as a whole.  While
many of the timers tests use KTAP some have custom output formats, let's
convert a few more to KTAP to make them work better in automation.

The posix_timers test made use of perror(), I've added a generic helper
to kselftest.h for that since it seems like it'll be useful elsewhere.

There are more tests that don't use KTAP, several of them just run a
single test so don't really benefit from KTAP and there were a couple
where the conversion was a bit more complex so I've left them for now.

Signed-off-by: Mark Brown <broonie@...nel.org>
---
Mark Brown (3):
      kselftest: Add a ksft_perror() helper
      selftests: timers: Convert posix_timers test to generate KTAP output
      selftests: timers: Convert nsleep-lat test to generate KTAP output

 tools/testing/selftests/kselftest.h           | 14 +++++
 tools/testing/selftests/timers/nsleep-lat.c   | 26 ++++-----
 tools/testing/selftests/timers/posix_timers.c | 81 ++++++++++++++-------------
 3 files changed, 67 insertions(+), 54 deletions(-)
---
base-commit: 6465e260f48790807eef06b583b38ca9789b6072
change-id: 20230926-ktap-posix-timers-67e978466185

Best regards,
-- 
Mark Brown <broonie@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ