[dts] =?UTF-8?q?=5B=91dts=92=5D=20fix=20vlan=20strip=20off/on=20faied=20case?=

huilong,xu huilongx.xu at intel.com
Mon Aug 3 10:25:25 CEST 2015


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


Signed-off-by: huilong xu <huilongx.xu at 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



More information about the dts mailing list