Move dmesg to tools

Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
Katarzyna Treder
2024-12-10 14:05:43 +01:00
parent a954e47b33
commit 7f5bbb5240

View File

@@ -1,15 +0,0 @@
#
# Copyright(c) 2024 Huawei Technologies Co., Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#
from core.test_run import TestRun
from connection.utils.output import Output
def get_dmesg() -> str:
return TestRun.executor.run("dmesg").stdout
def clear_dmesg() -> Output:
return TestRun.executor.run("dmesg -C")