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

selftests/damon: fix damon selftests by installing _common.sh

_common.sh was recently introduced but is not installed and then triggers
an error when trying to run the damon selftests:

selftests: damon: sysfs.sh
./sysfs.sh: line 4: _common.sh: No such file or directory

Install this file to avoid this error.

Link: https://lkml.kernel.org/r/20250812-alex-fixes_manual-v1-1-c4e99b1f80e4@rivosinc.com
Fixes: 511914506d19 ("selftests/damon: introduce _common.sh to host shared function")
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Tested-by: Enze Li <lienze@kylinos.cn>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Alexandre Ghiti and committed by
Andrew Morton
9d246d74 0f9ab62a

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