[dts] [PATCH] tests/vlan: rephrase a comment

Rami Rosen ramirose at gmail.com
Fri Apr 19 11:54:19 CEST 2019


This trivial patch rephrases a comment in the 
vlan_send_packet() method of Vlan test module to 
better reflect its logic.

Signed-off-by: Rami Rosen <ramirose at gmail.com>
---
 tests/TestSuite_vlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 4bf0ae8..3d13012 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -97,7 +97,7 @@ class TestVlan(TestCase):
 
     def vlan_send_packet(self, vid, num=1):
         """
-        Send $num of packet to portid, if vid is -1, it means send pakcage not include vlan id.
+        Send $num of packets to portid, if vid is -1, it means send a packet which does not include a vlan id.
         """
         # The package stream : testTxPort->dutRxPort->dutTxport->testRxPort
         port = self.tester.get_local_port(dutRxPortId)
-- 
1.8.3.1



More information about the dts mailing list