[dts] [PATCH V1 1/3]perf_vm2vm_virtio_net_perf: fix typo

Xiao Qimai qimaix.xiao at intel.com
Mon Jun 29 03:58:31 CEST 2020


Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
 tests/TestSuite_perf_vm2vm_virtio_net_perf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
index 532cdf7..cd57006 100644
--- a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
+++ b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
@@ -62,8 +62,8 @@ class TestPerfVM2VMVirtioNetPerf(TestCase):
         self.vm_num = 2
         self.virtio_ip1 = "1.1.1.2"
         self.virtio_ip2 = "1.1.1.3"
-        self.vritio_mac1 = "52:54:00:00:00:01"
-        self.vritio_mac2 = "52:54:00:00:00:02"
+        self.virtio_mac1 = "52:54:00:00:00:01"
+        self.virtio_mac2 = "52:54:00:00:00:02"
         self.base_dir = self.dut.base_dir.replace('~', '/root')
         self.random_string = string.ascii_letters + string.digits
         socket_num = len(set([int(core['socket']) for core in self.dut.cores]))
@@ -212,8 +212,8 @@ class TestPerfVM2VMVirtioNetPerf(TestCase):
         vm2_intf = self.vm_dut[1].ports_info[0]['intf']
         self.vm_dut[0].send_expect("ifconfig %s %s" % (vm1_intf, self.virtio_ip1), "#", 10)
         self.vm_dut[1].send_expect("ifconfig %s %s" % (vm2_intf, self.virtio_ip2), "#", 10)
-        self.vm_dut[0].send_expect("arp -s %s %s" % (self.virtio_ip2, self.vritio_mac2), "#", 10)
-        self.vm_dut[1].send_expect("arp -s %s %s" % (self.virtio_ip1, self.vritio_mac1), "#", 10)
+        self.vm_dut[0].send_expect("arp -s %s %s" % (self.virtio_ip2, self.virtio_mac2), "#", 10)
+        self.vm_dut[1].send_expect("arp -s %s %s" % (self.virtio_ip1, self.virtio_mac1), "#", 10)
 
     def prepare_test_env(self, zerocopy, path_mode, packed_mode=False):
         """
-- 
1.8.3.1



More information about the dts mailing list