aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
authorSeongJae Park <sj@kernel.org>2026-05-22 08:40:24 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:31:25 -0700
commit486de33be105a1f3d5afe9de48c7dd58fc56d8b1 (patch)
tree77e2b85a107fdc56c9c0a1083f1c1f6045b8a02e /tools
parentbdd266c4bf11502aebf02439e244ac871aef8efa (diff)
downloadlinux-next-history-486de33be105a1f3d5afe9de48c7dd58fc56d8b1.tar.gz
selftests/damon/sysfs.sh: test addr_unit file existence
sysfs.sh DAMON selftest is not testing the existence of addr_unit sysfs file. Add the test. Link: https://lore.kernel.org/20260522154026.80546-14-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/damon/sysfs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/damon/sysfs.sh b/tools/testing/selftests/damon/sysfs.sh
index b3418214ed358..92b44c86818af 100755
--- a/tools/testing/selftests/damon/sysfs.sh
+++ b/tools/testing/selftests/damon/sysfs.sh
@@ -365,6 +365,7 @@ test_context()
ensure_dir "$context_dir" "exist"
ensure_file "$context_dir/avail_operations" "exit" 400
ensure_file "$context_dir/operations" "exist" 600
+ ensure_file "$context_dir/addr_unit" "exist" 600
test_monitoring_attrs "$context_dir/monitoring_attrs"
test_targets "$context_dir/targets"
test_schemes "$context_dir/schemes"