[V1] tests/dcf_lifecycle: optimize script
Checks
Commit Message
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(-)
@@ -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):