From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8FEF0A00BE; Mon, 6 Jul 2020 06:41:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E83E1D5E0; Mon, 6 Jul 2020 06:41:22 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 883BB1BF5F for ; Mon, 6 Jul 2020 06:41:20 +0200 (CEST) IronPort-SDR: sTjRaBXYbFX9e/D0VW/8Ur128YID0Ijf7gdybaqTIUm6PnYf30sUU4G3FF73eGLwJGnE/YDXPW ZCNueX/p/GKg== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="127429816" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="127429816" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2020 21:41:16 -0700 IronPort-SDR: NjuFwxs9mg0SY+nKCYq0v2GUIcRYOBdUEIwnhNqsf6puKdyzcsI2AsTXA7Iz2x8jgD1e41UTUx rj5o9aLLVqzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="323088231" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by orsmga007.jf.intel.com with ESMTP; 05 Jul 2020 21:41:15 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Mon, 6 Jul 2020 12:40:59 +0800 Message-Id: <20200706044059.24887-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200706044059.24887-1-yufengx.mo@intel.com> References: <20200706044059.24887-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/1] nics/net_device: resolve color string 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" resolve color string. Signed-off-by: yufengmx --- nics/net_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nics/net_device.py b/nics/net_device.py index 2dc0fb1..a08c0da 100644 --- a/nics/net_device.py +++ b/nics/net_device.py @@ -609,7 +609,7 @@ class NetDevice(object): else: try: virtfns = self.__send_expect( - "ls -d /sys/bus/pci/devices/%s\:%s\:%s/virtfn*" % + "ls --color=never -d /sys/bus/pci/devices/%s\:%s\:%s/virtfn*" % (domain_id, bus_id, devfun_id), "# ") for virtfn in virtfns.split(): vf_uevent = self.__send_expect( -- 2.21.0