sysfs.sh DAMON selftest is not testing the existence of addr_unit 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 b3418214ed358..1e10881afabb6 100755
--- a/tools/testing/selftests/damon/sysfs.sh
+++ b/tools/testing/selftests/damon/sysfs.sh
@@ -365,6 +365,7 @@ test_context()
        ensure_dir "$context_dir" "exist"
        ensure_file "$context_dir/avail_operations" "exit" 400
        ensure_file "$context_dir/operations" "exist" 600
+       ensure_file "$context_dir/addr_unit" "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