Re: [PATCH v3 3/7] kselftest/lib: Use new shell runner to define tests

2019-04-02 Thread Kees Cook
On Tue, Apr 2, 2019 at 2:45 PM Kees Cook wrote: > > On Wed, Mar 6, 2019 at 1:43 PM Tobin C. Harding wrote: > > [...] > > diff --git a/tools/testing/selftests/lib/prime_numbers.sh > > b/tools/testing/selftests/lib/prime_numbers.sh > > index 78e7483c8d60..6f782386d897 100755 > > --- a/tools/testin

Re: [PATCH v3 3/7] kselftest/lib: Use new shell runner to define tests

2019-04-02 Thread Kees Cook
On Wed, Mar 6, 2019 at 1:43 PM Tobin C. Harding wrote: > [...] > diff --git a/tools/testing/selftests/lib/prime_numbers.sh > b/tools/testing/selftests/lib/prime_numbers.sh > index 78e7483c8d60..6f782386d897 100755 > --- a/tools/testing/selftests/lib/prime_numbers.sh > +++ b/tools/testing/selftest

Re: [PATCH v3 3/7] kselftest/lib: Use new shell runner to define tests

2019-04-02 Thread Kees Cook
On Wed, Mar 6, 2019 at 1:43 PM Tobin C. Harding wrote: > > We just added a new script kselftest_module.sh that can be used to > define kselftest tests that run tests within a kernel module. We can > use it to reduce code duplication in all of the test runner scripts in > tools/testing/selftests/l

[PATCH v3 3/7] kselftest/lib: Use new shell runner to define tests

2019-03-06 Thread Tobin C. Harding
We just added a new script kselftest_module.sh that can be used to define kselftest tests that run tests within a kernel module. We can use it to reduce code duplication in all of the test runner scripts in tools/testing/selftests/lib/. Use new shell runner tools/testing/selftests/kselftest_modul