[V1] tests/distributor: adapt the update of the DPDK

Message ID 20210423170857.114137-1-BoX.C.Chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/distributor: adapt the update of the DPDK |

Commit Message

Chen, BoX C April 23, 2021, 5:08 p.m. UTC
  adapt the update of the DPDK file path

Signed-off-by: Bo Chen <BoX.C.Chen@intel.com>
---
 tests/TestSuite_distributor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Chen, BoX C April 23, 2021, 9:08 a.m. UTC | #1
Tested-by: Bo Chen <box.c.chen@intel.com>

> -----Original Message-----
> From: Chen, BoX C <box.c.chen@intel.com>
> Sent: April 24, 2021 1:09
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts][PATCH V1] tests/distributor: adapt the update of the DPDK
  
Tu, Lijuan May 7, 2021, 7:18 a.m. UTC | #2
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, BoX C
> Sent: 2021年4月23日 17:09
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: Re: [dts] [PATCH V1] tests/distributor: adapt the update of the DPDK
> 
> Tested-by: Bo Chen <box.c.chen@intel.com>
> 
> > -----Original Message-----
> > From: Chen, BoX C <box.c.chen@intel.com>
> > Sent: April 24, 2021 1:09
> > To: dts@dpdk.org
> > Cc: Chen, BoX C <box.c.chen@intel.com>
> > Subject: [dts][PATCH V1] tests/distributor: adapt the update of the DPDK

Applied
  

Patch

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")