test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/dcf_lifecycle: optimize script
@ 2023-03-02 15:48 Hongbo Li
  0 siblings, 0 replies; only message in thread
From: Hongbo Li @ 2023-03-02 15:48 UTC (permalink / raw)
  To: dts; +Cc: Hongbo Li

The "--color" option of dmesg command is not supported in the OS with the lower version kernel, and the option only affects the color of the output.
So delete this option to make the OS with the lower version kernel support some testcase.

Signed-off-by: Hongbo Li <hongbox.li@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index cd7e1824..cf3f8fa1 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -184,7 +184,7 @@ class TestDcfLifeCycle(TestCase):
         self.d_a_con(cmd)
 
     def get_dmesg(self):
-        cmd = "dmesg --color=never"
+        cmd = "dmesg"
         return self.d_a_con(cmd) or ""
 
     def vf_init(self):
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-02  7:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 15:48 [dts][PATCH V1] tests/dcf_lifecycle: optimize script Hongbo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).