mbox series

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

Message ID 20241028233058.283381-1-sj@kernel.org (mailing list archive)
Headers show
Series damon/{self,kunit}tests: minor fixups for DAMON debugfs interface tests | expand

Message

SeongJae Park Oct. 28, 2024, 11:30 p.m. UTC
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