]> Gentwo Git Trees - linux/.git/commit
perf test perftool_testsuite: Use absolute paths
authorVeronika Molnarova <vmolnaro@redhat.com>
Tue, 30 Sep 2025 16:09:17 +0000 (18:09 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Oct 2025 12:44:05 +0000 (09:44 -0300)
commit241f21be7d0fdf3c1792ed7e61f90a9f5eecd03e
tree8ed1a1a455b568bc0b6611358d1e3eb4b229458b
parenta93b9ccb03a2b27c49bdadb0e2da036451794f92
perf test perftool_testsuite: Use absolute paths

Test cases from perftool_testsuite are affected by the current
directory where the test are run. For this reason, the test
driver has to change the directory to the base_dir for references to
work correctly.

Utilize absolute paths when sourcing and referencing other scripts so
that the current working directory doesn't impact the test cases.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Jakub Brnak <jbrnak@redhat.com>
Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/base_probe/test_adding_blacklisted.sh
tools/perf/tests/shell/base_probe/test_adding_kernel.sh
tools/perf/tests/shell/base_probe/test_basic.sh
tools/perf/tests/shell/base_probe/test_invalid_options.sh
tools/perf/tests/shell/base_probe/test_line_semantics.sh
tools/perf/tests/shell/base_report/setup.sh
tools/perf/tests/shell/base_report/test_basic.sh
tools/perf/tests/shell/common/init.sh