[dts] [PATCH] tests: fix initialization in initialize_port_config() of IPGRE test suite.

Rami Rosen rami.rosen at intel.com
Sat Aug 20 15:26:50 CEST 2016


This patch removes the initialization of self.outer_mac_src to "11:22:33:44:55:66"
in initialize_port_config(() as this initialization is wrong and meaningless (self.outer_mac_src 
is being initialized to '00:00:10:00:00:00' immediately in the command after).

Signed-off-by: Rami Rosen <rami.rosen at intel.com>
---
 tests/TestSuite_ipgre.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index a403ded..0868ffc 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -77,7 +77,6 @@ class TestIpgre(TestCase):
         self.re_bind_nvgre_to_gre()
 
     def initialize_port_config(self):
-        self.outer_mac_src = "11:22:33:44:55:66"
         self.outer_mac_src = '00:00:10:00:00:00'
         self.outer_mac_dst = '11:22:33:44:55:66'
         self.outer_ip_src = '192.168.1.1'
-- 
2.5.5



More information about the dts mailing list