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)
commitf893abbd6997f9a95815acfb84aa865f0c996373
treeb2551d2248a4906d95d7845a8a0d539bf0330a54
parent0f2cb5885771b31fd1c82a1293787d1e378eaab5
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