From: Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
To: dts@dpdk.org
Cc: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Subject: [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device
Date: Wed, 11 Jan 2017 17:14:49 +0530 [thread overview]
Message-ID: <1484135089-25484-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2017-01-11 11:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 11:44 Gowrishankar [this message]
2017-01-12 2:06 ` Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484135089-25484-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com \
--to=gowrishankar.m@linux.vnet.ibm.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).