Re: [PATCH v1] selftests: Make test_harness.h more generally available

From: Shuah Khan
Date: Mon May 01 2017 - 15:25:36 EST


On 04/30/2017 12:22 PM, Will Drewry wrote:
> On Sun, Apr 30, 2017 at 12:39 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>>
>> On Sun, Apr 30, 2017 at 5:26 AM, MickaÃl SalaÃn <mic@xxxxxxxxxxx> wrote:
>>> The seccomp/test_harness.h file contains useful helpers to build tests.
>>> Moving it to the selftest directory should benefit to other test
>>> components.
>>
>> Unless Shuah thinks this should live in a new include/ directory, this
>> looks fine to me.
>>
>> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> Same here!
>
> Acked-by: Will Drewry <wad@xxxxxxxxxxxx>
>
>>

I think the location fine. It will be a good idea to write
documentation on how to use this harness. I would recommend
rename the file to kselftest_harness.h and a doc file
kselftest_harness.txt which will go into Documentation directory.

thanks,
- Shuah