Re: [PATCH 3/5] perf tests: Fix thread map test for -F option
From: Nilay Vaish
Date: Thu Jun 30 2016 - 09:28:08 EST
On 29 June 2016 at 11:06, Nilay Vaish <nilayvaish@xxxxxxxxx> wrote:
> 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.
>
Tested-by: Nilay Vaish <nilayvaish@xxxxxxxxx>