]> git.baikalelectronics.ru Git - kernel.git/commit
selftets/damon/sysfs: test existence and permission of avail_operations
authorSeongJae Park <sj@kernel.org>
Tue, 10 May 2022 01:20:51 +0000 (18:20 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:06 +0000 (07:20 -0700)
commit861f7424c18e6bc20e0269476297ccbf49f7b221
treeb2551d2248a4906d95d7845a8a0d539bf0330a54
parenta1385e3706fc94aa442777a183700fc3b1859021
selftets/damon/sysfs: test existence and permission of avail_operations

This commit adds a selftest test case for ensuring the existence and the
permission (read-only) of the 'avail_oprations' DAMON sysfs file.

Link: https://lkml.kernel.org/r/20220426203843.45238-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/sysfs.sh