Commit Graph
2 Commits
Author SHA1 Message Date
Ian Rogers ef92c4351e perf test subcmd help: Add exclude disjoint subcmd names
The test is based on an error/fix posted to linux-perf-users.

Reported-by: Sri Jayaramappa <[email protected]>
Reviewed-by: Sri Jayaramappa <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Guilherme Amadio <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Closes: https://lore.kernel.org/linux-perf-users/[email protected]/
Closes: https://urldefense.com/v3/__https://lore.kernel.org/linux-perf-users/[email protected]/__;!!GjvTz_vk!XehekKNUE4Ib_tvqIH6PMIIhly4X3BZ-Y40RC1HKMQ-6OdYEFvUPQhyWv_gk9vsRRN4_RcOLS2Bh0CQ$
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2026-01-12 15:57:23 -03:00
Namhyung Kim 34c4ff1cbf perf test: Add libsubcmd help tests
Add a set of tests for subcmd routines.  Currently it fails the last one
since there's a bug.  It'll be fixed by the next commit.

  $ perf test subcmd
   69: libsubcmd help tests                                            :
   69.1: Load subcmd names                                             : Ok
   69.2: Uniquify subcmd names                                         : Ok
   69.3: Exclude duplicate subcmd names                                : FAILED!

Reviewed-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
2025-07-01 15:51:55 -07:00