diff options
| author | Veronika Molnarova <vmolnaro@redhat.com> | 2025-01-13 19:25:57 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2025-01-14 14:57:20 -0300 |
| commit | 1ab138febca6510881a0114fcfb329044fb4ed22 (patch) | |
| tree | 98d37f3f614ae25688673e2c8c3838390ebd6409 /tools/perf/tests/shell/base_probe/test_adding_kernel.sh | |
| parent | 5afd6d38cf52e1d8bb6659ec8263a693d1a94c2c (diff) | |
| download | linux-next-1ab138febca6510881a0114fcfb329044fb4ed22.tar.gz linux-next-1ab138febca6510881a0114fcfb329044fb4ed22.zip | |
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>
Diffstat (limited to 'tools/perf/tests/shell/base_probe/test_adding_kernel.sh')
| -rwxr-xr-x | tools/perf/tests/shell/base_probe/test_adding_kernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/base_probe/test_adding_kernel.sh b/tools/perf/tests/shell/base_probe/test_adding_kernel.sh index 60b31a9ff236..df288cf90cd6 100755 --- a/tools/perf/tests/shell/base_probe/test_adding_kernel.sh +++ b/tools/perf/tests/shell/base_probe/test_adding_kernel.sh @@ -33,7 +33,7 @@ fi check_kprobes_available if [ $? -ne 0 ]; then print_overall_skipped - exit 0 + exit 2 fi |
