[dts][PATCH V1] tests/dcf_lifecycle: optimize script
Hongbo Li
hongbox.li at intel.com
Thu Mar 2 16:48:03 CET 2023
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 at 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
More information about the dts
mailing list