Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] docs: kselftest: fix nanosleep test selector
@ 2026-12-04 17:19 sifat
  0 siblings, 0 replies; only message in thread
From: sifat @ 2026-12-04 17:19 UTC (permalink / raw)
  To: shuah; +Cc: linux-kselftest, corbet, rdunlap, linux-doc, workflows, sifat

The installed selftest runner rejects timer:nanosleep because nanosleep
belongs to the timers collection. Use timers:nanosleep so the example
can select both timer tests.

I identified the mismatch with assistance from Codex and verified both
selectors with --dry-run after building and installing the timers
collection.

Fixes: 4c8511317b4e ("doc: dev-tools: kselftest.rst: Update examples and paths")
Signed-off-by: sifat <hakim.shifat@gmail.com>
---
 Documentation/dev-tools/kselftest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index 0772525..68d0f27 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -219,7 +219,7 @@ To see the list of available tests, the `-l` option can be used::
 The `-c` option can be used to run all the tests from a test collection, or
 the `-t` option for specific single tests. Either can be used multiple times::
 
-   $ ./run_kselftest.sh -c size -c seccomp -t timers:posix_timers -t timer:nanosleep
+   $ ./run_kselftest.sh -c size -c seccomp -t timers:posix_timers -t timers:nanosleep
 
 For other features see the script usage output, seen with the `-h` option.
 

base-commit: 007722b8211f7b34fdf21b1e6a9c32497633ea29
-- 
2.56.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-04 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 17:19 [PATCH] docs: kselftest: fix nanosleep test selector sifat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox