Skip to content

damon/{self,kunit}tests: minor fixups for DAMON debugfs interface tests

SeongJae Park damon linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-damon-tests-dbgfs-kunit-fix-the-header-double-inclusion-guarding-ifdef-comment.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6selftests/damon/huge_count_read_write: provide sufficiently large buffer for DEPRECATED file readtools/testing/selftests/damon/huge_count_read_write.c+1 -10 repliesApplied
2/6selftests/damon/huge_count_read_write: remove unnecessary debugging messagetools/testing/selftests/damon/huge_count_read_write.c+0 -20 repliesApplied
3/6selftests/damon/_debugfs_common: hide expected error message from test_write_result()tools/testing/selftests/damon/_debugfs_common.sh+6 -10 repliesApplied
4/6selftests/damon/debugfs_duplicate_context_creation: hide errors from expected file write failurestools/testing/selftests/damon/debugfs_duplicate_context_creation.sh+1 -10 repliesApplied
5/6mm/damon/Kconfig: update DBGFS_KUNIT prompt copy for SYSFS_KUNITmm/damon/Kconfig+1 -10 repliesApplied
6/6mm/damon/tests/dbgfs-kunit: fix the header double inclusion guarding ifdef commentmm/damon/tests/dbgfs-kunit.h+1 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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).

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

Signature · 1 line
2.39.5