perf test: Fix record+script_probe_vfs_getname.sh /tmp cleanup
authorJames Clark <james.clark@arm.com>
Tue, 21 Sep 2021 13:10:07 +0000 (14:10 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Oct 2021 14:14:49 +0000 (11:14 -0300)
commitcf95f85e27bb5001f1cd8fc2ee9d3ee13e580ab1
treeb52887e7b7e7932eee1248e3b55bad0582ca3db6
parent3a55445f11e6b1dbdc1e7f2684a519089d2e163c
perf test: Fix record+script_probe_vfs_getname.sh /tmp cleanup

The temp files are only cleaned up if the test is not skipped, so delay
making them until after the skip so they don't get left behind in /tmp.

Signed-off-by: James Clark <james.clark@arm.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20210921131009.390810-1-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record+script_probe_vfs_getname.sh