mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
selftests/damon/sysfs.sh: test quota goal complement flag file
Test the existence and the valid input acceptance of the newly added quota goal complement flag sysfs file. Link: https://lore.kernel.org/20260929080113.41708-6-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Shuah Khan <shuah@kernel.org>
This commit is contained in:
parent
aeebce981d
commit
1aa52bdc45
|
|
@ -212,6 +212,9 @@ test_goal()
|
|||
ensure_write_succ "$fpath" "node_eligible_mem_bp" "valid input"
|
||||
ensure_write_succ "$fpath" "hugepage_mem_bp" "valid input"
|
||||
ensure_write_fail "$fpath" "foo" "invalid input"
|
||||
ensure_file "$goal_dir/complement" "exist" "600"
|
||||
ensure_write_succ "$goal_dir/complement" "Y" "valid input"
|
||||
ensure_write_succ "$goal_dir/complement" "N" "valid input"
|
||||
ensure_file "$goal_dir/nid" "exist" "600"
|
||||
ensure_file "$goal_dir/path" "exist" "600"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user