]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/damon/debugfs_duplicate_context_creation: hide errors from expected file...
authorSeongJae Park <sj@kernel.org>
Mon, 28 Oct 2024 23:30:56 +0000 (16:30 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:30 +0000 (21:29 -0700)
commit4508b65ca8f435daee83458fda01e36479767631
tree1bf017731fa799765aad0f73680fd14413a4bab2
parentab1141c31d3ce5f6220387221119c75bac7a1d39
selftests/damon/debugfs_duplicate_context_creation: hide errors from expected file write failures

debugfs_duplicate_context_creation.sh does an invalid file write to ensure
it fails.  Check of the failure is sufficient, so the error message from
the failure only makes the output unnecessarily noisy.  Hide it.

Link: https://lkml.kernel.org/r/20241028233058.283381-5-sj@kernel.org
Fixes: ade38b8ca5ce ("selftest/damon: add a test for duplicate context dirs creation")
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_duplicate_context_creation.sh