mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-31 19:11:00 +00:00
selftests/damon/sysfs: test tried_regions/total_bytes file
Update sysfs.sh DAMON selftest for checking existence of 'total_bytes' file under the 'tried_regions' directory of DAMON sysfs interface. Link: https://lkml.kernel.org/r/20230802213222.109841-4-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
6ad243b83b
commit
b823cb08e6
@ -84,6 +84,7 @@ test_tried_regions()
|
||||
{
|
||||
tried_regions_dir=$1
|
||||
ensure_dir "$tried_regions_dir" "exist"
|
||||
ensure_file "$tried_regions_dir/total_bytes" "exist" "400"
|
||||
}
|
||||
|
||||
test_stats()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user