OSDN Git Service

selftests/mm: add a few options for uffd-unit-test
authorPeter Xu <peterx@redhat.com>
Mon, 17 Apr 2023 19:53:14 +0000 (15:53 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Apr 2023 21:52:00 +0000 (14:52 -0700)
commit21337f2af16cb36782ff5031f2553f9cf2f7c787
treeadd5d2fe39c3308531e721f9dcf4f6b7bc54f62e
parent0f230bc24b6e1399b86b95642704a962d8aa40e6
selftests/mm: add a few options for uffd-unit-test

Namely:

  "-f": add a wildcard filter for tests to run
  "-l": list tests rather than running any
  "-h": help msg

Link: https://lkml.kernel.org/r/20230417195317.898696-4-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Mika Penttilä <mpenttil@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/uffd-unit-tests.c