From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B547241DB5; Thu, 2 Mar 2023 08:31:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B085840E09; Thu, 2 Mar 2023 08:31:18 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id E813340DFB for ; Thu, 2 Mar 2023 08:31:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677742278; x=1709278278; h=from:to:cc:subject:date:message-id; bh=O291u31IdCDJ6hYQSAdbclkN19qwjvesSIlwKAI8KP0=; b=HzrkSqQL0I2liaWbFZNziTUavx8UCP1cRq9KrDHoWWBc3eESLeMHrvbB oqZq0uo/BMeuhT34+m24od3ojm7fh1yHNpzG2qr3j7uqvJWLtXkvxWxFl srxbFaDqdLqytxIukyDt7979aaHF/rl3CFzAKDElO1YpSgzQ/zUtzagTy mJiYFyFawZCBaJsv5CltVIYbSjcoyLA0HkpPkscEFzFu2QUCaTDptw2Yy fqgvdEhIb9aT8oPJs3/1PtteOT+cAj59uIa1VGBJn1lubsRP/42ZKsa/G jEDAhNAVa85a5Ri/eh5xSuZPUvgWS7MfFMJiarq/XMdo3BkyWm9uloi+w Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="314306549" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="314306549" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 23:31:17 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="707316730" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="707316730" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 23:31:15 -0800 From: Hongbo Li To: dts@dpdk.org Cc: Hongbo Li Subject: [dts][PATCH V1] tests/dcf_lifecycle: optimize script Date: Thu, 2 Mar 2023 23:48:03 +0800 Message-Id: <20230302154803.32608-1-hongbox.li@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- 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