Skip to contentSkip to conversation

selftets-damon-sysfs-test-existence-and-permission-of-avail_operations.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 10, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftets/damon/sysfs: test existence and permission of avail_operations
has been removed from the -mm tree. Its filename was
selftets-damon-sysfs-test-existence-and-permission-of-avail_operations.patch

This patch was dropped because it was merged into mm-stable

------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: 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.

---

 tools/testing/selftests/damon/sysfs.sh |    1 +
 1 file changed, 1 insertion(+)
tools/testing/selftests/damon/sysfs.sh renamed from tools/testing/selftests/damon/sysfs.sh~selftets-damon-sysfs-test-existence-and-permission-of-avail_operations +1 -0
@@ -231,6 +231,7 @@ test_context()
 {
 	context_dir=$1
 	ensure_dir "$context_dir" "exist"
+	ensure_file "$context_dir/avail_operations" "exit" 400
 	ensure_file "$context_dir/operations" "exist" 600
 	test_monitoring_attrs "$context_dir/monitoring_attrs"
 	test_targets "$context_dir/targets"

_

Patches currently in -mm which might be from [email protected] are