sysfs.sh DAMON selftest is not testing the existence of the 'pause'
sysfs file.  Add the test.

Signed-off-by: SeongJae Park <[email protected]>
---
 tools/testing/selftests/damon/sysfs.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/damon/sysfs.sh 
b/tools/testing/selftests/damon/sysfs.sh
index 1e10881afabb6..ae002dd3c0797 100755
--- a/tools/testing/selftests/damon/sysfs.sh
+++ b/tools/testing/selftests/damon/sysfs.sh
@@ -366,6 +366,7 @@ test_context()
        ensure_file "$context_dir/avail_operations" "exit" 400
        ensure_file "$context_dir/operations" "exist" 600
        ensure_file "$context_dir/addr_unit" "exit" 600
+       ensure_file "$context_dir/pause" "exit" 600
        test_monitoring_attrs "$context_dir/monitoring_attrs"
        test_targets "$context_dir/targets"
        test_schemes "$context_dir/schemes"
-- 
2.47.3

Reply via email to