test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests shutdown_api: add NIC type 'mgpk'
@ 2016-09-12  6:49 Peng yuan
  0 siblings, 0 replies; only message in thread
From: Peng yuan @ 2016-09-12  6:49 UTC (permalink / raw)
  To: dts; +Cc: pengyuan

From: pengyuan <yuan.peng@intel.com>

Signed-off-by: pengyuan <yuan.peng@intel.com>

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index f03734a..2b8704c 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -309,7 +309,7 @@ class TestShutdownApi(TestCase):
             for port in self.ports:
                 out = self.tester.send_expect(
                     "ethtool %s" % self.tester.get_interface(self.tester.get_local_port(port)), "# ")
-                self.verify("Speed: %s" % config[0] in out,
+	       	self.verify("Speed: %s" % config[0] in out,
                             "Wrong speed reported by the self.tester.")
                 self.verify("Duplex: %s" % config[1] in out,
                             "Wrong link type reported by the self.tester.")
@@ -336,7 +336,7 @@ class TestShutdownApi(TestCase):
         self.dut.send_expect("port start all", "testpmd> ", 100)
         self.dut.send_expect("start", "testpmd> ")
 
-        if self.nic in ['niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']:
+        if self.nic in ['mgpk', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']:
             # nantic vlan length will not be calculated
             vlan_jumbo_size = jumbo_size + 4
         else:
-- 
2.5.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-12  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-12  6:49 [dts] [PATCH] tests shutdown_api: add NIC type 'mgpk' Peng yuan

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).