test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device
@ 2017-01-11 11:44 Gowrishankar
  2017-01-12  2:06 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Gowrishankar @ 2017-01-11 11:44 UTC (permalink / raw)
  To: dts; +Cc: Gowrishankar Muthukrishnan

From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>

Below patch corrects the expected bond device name to match actually created
one.

Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.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 1b3f781..7d80ece 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 eth_bond_testpmd_[\d] on \(port ",
+        bond_port = self.get_value_from_str("Created new bonded device net_bond_testpmd_[\d] on \(port ",
                                             "\d+",
                                             out)
         bond_port = int(bond_port)
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device
  2017-01-11 11:44 [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device Gowrishankar
@ 2017-01-12  2:06 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-01-12  2:06 UTC (permalink / raw)
  To: Gowrishankar, dts

Thanks Gowrishankar, applied into master branch.

On 01/11/2017 07:44 PM, Gowrishankar wrote:
> From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
>
> Below patch corrects the expected bond device name to match actually created
> one.
>
> Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.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 1b3f781..7d80ece 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 eth_bond_testpmd_[\d] on \(port ",
> +        bond_port = self.get_value_from_str("Created new bonded device net_bond_testpmd_[\d] on \(port ",
>                                               "\d+",
>                                               out)
>           bond_port = int(bond_port)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-12  2:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 11:44 [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device Gowrishankar
2017-01-12  2:06 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).