Re: [PATCH 3/5] perf tests: Fix thread map test for -F option

From: Nilay Vaish
Date: Wed Jun 29 2016 - 12:07:43 EST


On 28 June 2016 at 06:29, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> I hit a bug when running test suite without forking
> each test (-F option):
>
> $ perf test -Fv
> ...
> 34: Test thread map :
> --- start ---
> FAILED tests/thread-map.c:24 wrong comm
> ---- end ----
> Test thread map: FAILED!
>
> The reason was the process name wasn't 'perf' as expected
> by the test, because other tests set the name as well.
>
> Setting it explicitly now.
>
> Link: http://lkml.kernel.org/n/tip-bqapag0ljaiwmb7hlkw09zk5@xxxxxxxxxxxxxx
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>


This patch also seems fine. Again, I confirmed that test 34 fails
without the patch and that this patch fixed it.

--
Nilay