From patchwork Fri Apr 23 17:08:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chen, BoX C" X-Patchwork-Id: 92062 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B467AA0548; Fri, 23 Apr 2021 11:06:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0FFC4067E; Fri, 23 Apr 2021 11:06:52 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 945CE4014F for ; Fri, 23 Apr 2021 11:06:50 +0200 (CEST) IronPort-SDR: Ixsu45BwRcBc+HVDe8koJY102S70WOAy6kYHKkz3Rzm/5vDcvvW9y5/hznhTVNyzV0YegYdzw/ DNr2GjJ/Mxjw== X-IronPort-AV: E=McAfee;i="6200,9189,9962"; a="195596572" X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="195596572" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 02:06:49 -0700 IronPort-SDR: fVOop/38rmJ2/CAbokTOwM7izV4/m3Oy6Ue3Dx0lXv2EQjxqNs+lAggEJhWuce/6Jg02tWmYFG CBFpDC8lms6Q== X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="428307250" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 02:06:47 -0700 From: Bo Chen To: dts@dpdk.org Cc: Bo Chen Date: Fri, 23 Apr 2021 17:08:57 +0000 Message-Id: <20210423170857.114137-1-BoX.C.Chen@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1] tests/distributor: adapt the update of the DPDK 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 Sender: "dts" adapt the update of the DPDK file path Signed-off-by: Bo Chen Tested-by: Bo Chen --- tests/TestSuite_distributor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor.py index 2bfe6ee6..0f61cc71 100644 --- a/tests/TestSuite_distributor.py +++ b/tests/TestSuite_distributor.py @@ -165,7 +165,7 @@ class TestDistributor(TestCase): self.verify(len(self.dut_ports) >= 1, "Not enough ports") cmd_fmt = "%s %s -- -p 0x1" - out = self.dut.send_expect("sed -n '/#define RTE_DISTRIB_MAX_WORKERS/p' lib/librte_distributor/distributor_private.h", "# ") + out = self.dut.send_expect("sed -n '/#define RTE_DISTRIB_MAX_WORKERS/p' lib/distributor/distributor_private.h", "# ") reg_match = r"#define RTE_DISTRIB_MAX_WORKERS (.*)" m = re.match(reg_match, out) self.verify(m, "Can't find maximum worker number")