selftests/damon/sysfs: test tried_regions/total_bytes file
authorSeongJae Park <sj@kernel.org>
Wed, 2 Aug 2023 21:32:19 +0000 (21:32 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:34 +0000 (13:37 -0700)
commitb823cb08e66212f5d90b5eaad59b2371b930e33f
tree8a8f25b8c96f58ed58af7496297cb6647d545d81
parent6ad243b83b5094026fdb3171711ddb25246b3d8a
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>
tools/testing/selftests/damon/sysfs.sh