[dts] [PATCH V1] fix pmd_bonded verify code

Liu, Yong yong.liu at intel.com
Tue Aug 15 11:01:44 CEST 2017


Peipei,
Please make sure email subject align to unified format like: tests/pmd_bonded: fix bonding device name changed

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lu,peipei
> Sent: Tuesday, August 15, 2017 9:53 AM
> To: dts at dpdk.org
> Cc: Lu, PeipeiX <peipeix.lu at intel.com>
> Subject: [dts] [PATCH V1] fix pmd_bonded verify code
> 
> fix pmd_bonded verify code
> 
> Signed-off-by: lu,peipei <peipeix.lu at intel.com>
> ---
>  tests/TestSuite_pmd_bonded.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.py
> index 7d80ece..868bfde 100644
> --- a/tests/TestSuite_pmd_bonded.py
> +++ b/tests/TestSuite_pmd_bonded.py
> @@ -454,7 +454,7 @@ UDP(sport=srcport,
> dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
>          out = self.dut.send_expect("create bonded device %d %d" % (mode,
> socket), "testpmd> ")
>          self.verify("Created new bonded device" in out,
>                      "Create bonded device on mode [%d] socket [%d]
> failed" % (mode, socket))
> -        bond_port = self.get_value_from_str("Created new bonded device
> net_bond_testpmd_[\d] on \(port ",
> +        bond_port = self.get_value_from_str("Created new bonded device
> net_bonding_testpmd_[\d] on \(port ",
>                                              "\d+",
>                                              out)
>          bond_port = int(bond_port)
> --
> 1.9.3



More information about the dts mailing list