[PATCH 0/6] damon/{self,kunit}tests: minor fixups for DAMON debugfs interface tests

SeongJae Park posted 6 patches 3 weeks, 6 days ago
mm/damon/Kconfig                                           | 2 +-
mm/damon/tests/dbgfs-kunit.h                               | 2 +-
tools/testing/selftests/damon/_debugfs_common.sh           | 7 ++++++-
.../selftests/damon/debugfs_duplicate_context_creation.sh  | 2 +-
tools/testing/selftests/damon/huge_count_read_write.c      | 4 +---
5 files changed, 10 insertions(+), 7 deletions(-)
[PATCH 0/6] damon/{self,kunit}tests: minor fixups for DAMON debugfs interface tests
Posted by SeongJae Park 3 weeks, 6 days ago
Fixup small broken window panes in DAMON selftests and kunit tests.

First four patches clean up DAMON debugfs interface selftests output, by
fixing segmentation fault of a test program (patch 1), removing
unnecessary debugging messages (patch 2), and hiding error messages from
expected failures (patches 3 and 4).

Following two patches fix copy-paste mistakes in DAMON Kconfig help
message that copied from debugfs kunit test (patch 5) and a comment on
the debugfs kunit test code (patch 6).

Signed-off-by: SeongJae Park <sj@kernel.org>

Andrew Paniakin (1):
  selftests/damon/huge_count_read_write: provide sufficiently large
    buffer for DEPRECATED file read

SeongJae Park (5):
  selftests/damon/huge_count_read_write: remove unnecessary debugging
    message
  selftests/damon/_debugfs_common: hide expected error message from
    test_write_result()
  selftests/damon/debugfs_duplicate_context_creation: hide errors from
    expected file write failures
  mm/damon/Kconfig: update DBGFS_KUNIT prompt copy for SYSFS_KUNIT
  mm/damon/tests/dbgfs-kunit: fix the header double inclusion guarding
    ifdef comment

 mm/damon/Kconfig                                           | 2 +-
 mm/damon/tests/dbgfs-kunit.h                               | 2 +-
 tools/testing/selftests/damon/_debugfs_common.sh           | 7 ++++++-
 .../selftests/damon/debugfs_duplicate_context_creation.sh  | 2 +-
 tools/testing/selftests/damon/huge_count_read_write.c      | 4 +---
 5 files changed, 10 insertions(+), 7 deletions(-)


base-commit: 13583c750117b4e10cdaf5578dcc7723b305ce4e
-- 
2.39.5