[dts] [PATCH V1]tests: correct the pcap file name
Lei
lei.a.yao at intel.com
Wed Feb 13 16:14:01 CET 2019
From: Lei Yao <lei.a.yao at intel.com>
The pcap file test cases prepared doesn'at match the file IXia use
---
tests/TestSuite_kni.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index 04ed218..dddfb90 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -1188,7 +1188,7 @@ class TestKni(TestCase):
self.tester.scapy_append(
'flows.append(Ether(dst="%s")/IP(src="192.170.%d.2",dst="192.170.%d.2")/("X"*%d))' %
(rx_mac, 100 + port, 100 + (port + 1) % ports_without_kni, payload_size))
- tgen_input.append((tx_port, tx_port, "routePerf.pcap"))
+ tgen_input.append((tx_port, tx_port, "routePerf_%d.pcap" % ports_without_kni))
self.tester.scapy_append(
'wrpcap("routePerf_%d.pcap",flows)' % ports_without_kni)
--
2.7.4
More information about the dts
mailing list