mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 20:34:20 +08:00
selftests/damon/debugfs_rm_non_contexts: hide expected write error messages
A selftest case for DAMON debugfs interface has a test for expected failure. To make the test output clean, hide the expected failure error message. Link: https://lkml.kernel.org/r/20230110190400.119388-9-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
16ddcb1549
commit
75cb348714
@ -10,7 +10,7 @@ dmesg -C
|
||||
|
||||
for file in "$DBGFS/"*
|
||||
do
|
||||
echo "$(basename "$f")" > "$DBGFS/rm_contexts"
|
||||
(echo "$(basename "$f")" > "$DBGFS/rm_contexts") &> /dev/null
|
||||
if dmesg | grep -q BUG
|
||||
then
|
||||
dmesg
|
||||
|
Loading…
Reference in New Issue
Block a user