Messages in this thread | | | Date | Mon, 28 Sep 2020 13:09:36 -0700 | From | Kees Cook <> | Subject | Re: [PATCH 2/2] selftests/run_kselftest.sh: Make each test individually selectable |
| |
On Sun, Sep 27, 2020 at 10:48:40AM +0800, Hangbin Liu wrote: > On Fri, Sep 25, 2020 at 04:45:27PM -0700, Kees Cook wrote: > > Currently with run_kselftest.sh there is no way to choose which test > > we could run. All the tests listed in kselftest-list.txt are all run > > every time. This patch enhanced the run_kselftest.sh to make the test > > collections (or tests) individually selectable. e.g.: > > > > $ ./run_kselftest.sh -c seccomp -t timers:posix_timers -t timers:nanosleep > > > > Additionally adds a way to list all known tests with "-l", usage > > with "-h", and perform a dry run without running tests with "-n". > > This is better than my previous patch and we can modify run_kselftest.sh > easily. The Documentation/dev-tools/kselftest.rst should also be update.
Thanks! I will send a v2.
-- Kees Cook
| |