summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-04 12:49:54 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-08 18:13:52 -0300
commit4bbcb0fb9b866d05a2dd2db8bccd78be9d0476a9 (patch)
tree4712e17e302892d170274b59e870c31a0315623f
parentc749aacf7378973d6cd65bcbf21361079918ec0a (diff)
downloadlinux-next-4bbcb0fb9b866d05a2dd2db8bccd78be9d0476a9.tar.gz
linux-next-4bbcb0fb9b866d05a2dd2db8bccd78be9d0476a9.zip
perf test: Avoid call to missing cleanup function
Cleanup function was removed by writing to /dev/null rather than temporary files. The exit path still had a call. Fixes: 44f6b44027910eb9 ("perf test: Fix hybrid testing of event fallback test") Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-xtools/perf/tests/shell/test_event_open_fallback.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/tests/shell/test_event_open_fallback.sh b/tools/perf/tests/shell/test_event_open_fallback.sh
index 9420a7557c13..27d440a5355d 100755
--- a/tools/perf/tests/shell/test_event_open_fallback.sh
+++ b/tools/perf/tests/shell/test_event_open_fallback.sh
@@ -57,8 +57,6 @@ ret=0
test_decrease_precise_ip || ret=$? ; count_result $ret ; ret=0
test_decrease_precise_ip_complicated || ret=$? ; count_result $ret ; ret=0
-cleanup
-
if [ ${err_cnt} -gt 0 ] ; then
exit 1
fi