]> www.infradead.org Git - users/hch/misc.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>
Thu, 7 Nov 2024 22:38:08 +0000 (14:38 -0800)
commit9b1266ee08c2e45684d58a53a48866a230c76bff
tree2aa1903bbac9fb1f755dcd515381d03cc0aac701
parent82475d111de73b5688389d2736509bf30cb338d8
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