Re: [PATCH v1] selftests: Enhance kselftest_harness.h to print which assert failed

From: MickaÃl SalaÃn
Date: Wed Sep 06 2017 - 18:44:42 EST




On 06/09/2017 03:26, Shuah Khan wrote:
> On 09/05/2017 02:38 PM, MickaÃl SalaÃn wrote:
>>
>>
>> On 28/08/2017 18:42, Shuah Khan wrote:
>>> On 08/06/2017 05:23 PM, MickaÃl SalaÃn wrote:
>>>> When a test process is not able to write to TH_LOG_STREAM, this step
>>>> mechanism enable to print the assert number which triggered the failure.
>>>> This can be enabled by setting _metadata->no_print to true at the
>>>> beginning of the test sequence.
>>>>
>>>> Update the seccomp-bpf test to return 0 if a test succeeded.
>>>>
>>>> This feature is needed for the Landlock tests.
>>>>
>>>> Signed-off-by: MickaÃl SalaÃn <mic@xxxxxxxxxxx>
>>>> Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>>>> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
>>>> Cc: Shuah Khan <shuah@xxxxxxxxxx>
>>>> Cc: Will Drewry <wad@xxxxxxxxxxxx>
>>>> Link: https://lkml.kernel.org/r/CAGXu5j+D-FP8Kt9unNOqKrQJP4DYTpmgkJxWykZyrYiVPz3Y3Q@xxxxxxxxxxxxxx
>>>
>>> I am looking through my Inbox and found this one. Okay to pull
>>> this in for 4.14-rc1?
>>
>> Yes, could you please pull this one instead of the one from my Landlock
>> patch series [1] (which is already in your tree)? This patch is more
>> up-to-date and include documentation.
>>
>
> Now this patch is in linux-kselftest next for 4.14-rc1 instead of
> the one from your landlock series. Please take a look and see if
> I git it right.

Yes, it is right. Thanks!

MickaÃl

Attachment: signature.asc
Description: OpenPGP digital signature