Update DAMON selftests to test existence of the file for reading/writing
DAMOS apply interval under each scheme directory.

Signed-off-by: SeongJae Park <[email protected]>
---
 tools/testing/selftests/damon/sysfs.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/damon/sysfs.sh 
b/tools/testing/selftests/damon/sysfs.sh
index 60a9a305aef0..56f0230a8b92 100644
--- a/tools/testing/selftests/damon/sysfs.sh
+++ b/tools/testing/selftests/damon/sysfs.sh
@@ -175,6 +175,7 @@ test_scheme()
        ensure_dir "$scheme_dir" "exist"
        ensure_file "$scheme_dir/action" "exist" "600"
        test_access_pattern "$scheme_dir/access_pattern"
+       ensure_file "$scheme_dir/apply_interval_us" "exist" "600"
        test_quotas "$scheme_dir/quotas"
        test_watermarks "$scheme_dir/watermarks"
        test_filters "$scheme_dir/filters"
-- 
2.25.1

Reply via email to