From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id CFE6537A6 for ; Wed, 2 Dec 2015 07:32:13 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 01 Dec 2015 22:32:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,371,1444719600"; d="scan'208";a="862785996" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga002.jf.intel.com with ESMTP; 01 Dec 2015 22:32:11 -0800 From: "xu,huilong" To: dts@dpdk.org Date: Wed, 2 Dec 2015 14:27:43 +0800 Message-Id: <1449037663-5046-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1]fix yocto os can't init core list X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 06:32:14 -0000 yocto not support --color=never parameter. Signed-off-by: xu,huilong --- framework/crb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/crb.py b/framework/crb.py index 3c158ec..baaff2a 100644 --- a/framework/crb.py +++ b/framework/crb.py @@ -462,7 +462,7 @@ class Crb(object): cpuinfo = \ self.send_expect( - "grep --color=never \"processor\\|physical id\\|core id\\|^$\" /proc/cpuinfo", + r'grep "processor\|physical id\|core id\|^$" /proc/cpuinfo', "#", alt_session=True) cpuinfo = cpuinfo.split('\r\n\r\n') # haswell cpu on cottonwood core id not correct -- 1.9.3