Skip to content

Commit

Permalink
Merge pull request avocado-framework#3852 from cliping/fix-dmesg
Browse files Browse the repository at this point in the history
Fix dmesg log issue
  • Loading branch information
chloerh authored Feb 28, 2024
2 parents 2ddf56c + 360ba92 commit 66e5d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/utils_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3258,7 +3258,7 @@ def __get_kernel_messages(level_check=3, session=None):
output: multi-line string containing all read messages
status: exit code of read command
"""
cmd = "dmesg -T -l %s|grep ." % ",".join(
cmd = "dmesg -T -l %s|grep . --color never" % ",".join(
map(str, xrange(0, int(level_check))))
if session:
environ = "guest"
Expand Down

0 comments on commit 66e5d61

Please sign in to comment.