Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/damon: fix selftests by installing drgn related script

drgn_dump_damon_status is not installed during kselftest setup. It can
break other tests which depend on drgn_dump_damon_status. Install
drgn_dump_damon_status files to fix broken test.

Link: https://lkml.kernel.org/r/20250812140046.660486-1-ekffu200098@gmail.com
Fixes: f3e8e1e51362 ("selftests/damon: add drgn script for extracting damon status")
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: Honggyu Kim <honggyu.kim@sk.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Sang-Heon Jeon and committed by
Andrew Morton
0cc2a488 8b26f0a8

+1
+1
tools/testing/selftests/damon/Makefile
··· 4 4 TEST_GEN_FILES += access_memory access_memory_even 5 5 6 6 TEST_FILES = _damon_sysfs.py 7 + TEST_FILES += drgn_dump_damon_status.py 7 8 8 9 # functionality tests 9 10 TEST_PROGS += sysfs.sh