mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
perf test perftool_testsuite: Return correct value for skipping
In 'perf test', a return value 2 represents that the test case was skipped. Fix this value for perftool_testsuite test cases to differentiate between skip and pass values. Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Cc: Ian Rogers <irogers@google.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20250113182605.130719-3-vmolnaro@redhat.com Signed-off-by: Michael Petlan <mpetlan@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
5afd6d38cf
commit
1ab138febc
@@ -19,7 +19,7 @@ TEST_RESULT=0
|
||||
|
||||
if ! check_kprobes_available; then
|
||||
print_overall_skipped
|
||||
exit 0
|
||||
exit 2
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user