]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/damon/_debugfs_common: hide expected error message from test_write_result()
authorSeongJae Park <sj@kernel.org>
Mon, 28 Oct 2024 23:30:55 +0000 (16:30 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:30 +0000 (21:29 -0700)
commitab1141c31d3ce5f6220387221119c75bac7a1d39
tree8e0f163f92fc958b607ecb6f735e115313fb5cf4
parentd4f9be1e1233892dcf20029c2091e71e91984801
selftests/damon/_debugfs_common: hide expected error message from test_write_result()

DAMON debugfs interface selftests use test_write_result() to check if
valid or invalid writes to files of the interface success or fail as
expected.  File write error messages from expected failures are only
making the output noisy.  Hide such expected error messages.

Link: https://lkml.kernel.org/r/20241028233058.283381-4-sj@kernel.org
Fixes: b348eb7abd09 ("mm/damon: add user space selftests")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Andrew Paniakin <apanyaki@amazon.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/_debugfs_common.sh