test suite reviews and discussions
 help / color / mirror / Atom feed
From: "huilong,xu" <huilongx.xu@intel.com>
To: dts@dpdk.org
Subject: [dts] [�dts�] fix vlan strip off/on faied case
Date: Mon,  3 Aug 2015 16:25:25 +0800	[thread overview]
Message-ID: <1438590325-22872-1-git-send-email-huilongx.xu@intel.com> (raw)

From: huilong xu <huilongx.xu@intel.com>


Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
 tests/TestSuite_vlan.py |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 318b3ca..9a03600 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -207,11 +207,8 @@ class TestVlan(TestCase):
 
         out = self.get_tcpdump_package()
         self.verify("vlan %d" % self.vlan in out, "Wrong vlan: " + out)
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "redrockcanyou"]:
-            self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ", 30)
-            self.dut.send_expect("stop", "testpmd> ", 30)
-        else:
-            self.dut.send_expect("quit", "# ", 30)
+        self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ", 30)
+        self.dut.send_expect("stop", "testpmd> ", 30)
 
     def tear_down(self):
         """
-- 
1.7.4.4

                 reply	other threads:[~2015-08-03  8:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1438590325-22872-1-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@intel.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).