]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Fix trace+probe_vfs_getname.sh /tmp cleanup
authorJames Clark <james.clark@arm.com>
Tue, 21 Sep 2021 13:10:08 +0000 (14:10 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Oct 2021 14:17:38 +0000 (11:17 -0300)
commit1e6588b21f2abad312b3d60d8a9e60a3a06c95fe
tree5b98539fc41eb850828038c7040d403ef393e292
parent9c54d93c86f134c6ff0d0f26c3f375c0962d15be
perf tests: Fix trace+probe_vfs_getname.sh /tmp cleanup

The temp file is only cleaned up if the test is not skipped, so delay
making it until after the skip so it doesn'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.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20210921131009.390810-2-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/trace+probe_vfs_getname.sh