Commit 65ded14e authored by SeongJae Park's avatar SeongJae Park Committed by Andrew Morton

selftests/damon/sysfs: test DAMOS apply intervals

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

Link: https://lkml.kernel.org/r/20230916020945.47296-8-sj@kernel.orgSigned-off-by: default avatarSeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent a2a9f68e
...@@ -175,6 +175,7 @@ test_scheme() ...@@ -175,6 +175,7 @@ test_scheme()
ensure_dir "$scheme_dir" "exist" ensure_dir "$scheme_dir" "exist"
ensure_file "$scheme_dir/action" "exist" "600" ensure_file "$scheme_dir/action" "exist" "600"
test_access_pattern "$scheme_dir/access_pattern" test_access_pattern "$scheme_dir/access_pattern"
ensure_file "$scheme_dir/apply_interval_us" "exist" "600"
test_quotas "$scheme_dir/quotas" test_quotas "$scheme_dir/quotas"
test_watermarks "$scheme_dir/watermarks" test_watermarks "$scheme_dir/watermarks"
test_filters "$scheme_dir/filters" test_filters "$scheme_dir/filters"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment