dual remote - tests missing PCAPs
authorimarom <[email protected]>
Wed, 7 Sep 2016 13:20:11 +0000 (16:20 +0300)
committerimarom <[email protected]>
Wed, 7 Sep 2016 13:20:11 +0000 (16:20 +0300)
scripts/automation/regression/stateless_tests/stl_client_test.py
scripts/automation/regression/test_pcaps/pcap_dual_test.erf [new file with mode: 0644]
scripts/exp/pcap_remote_dual-0.erf [new file with mode: 0644]

index 22fd99e..0d915fd 100644 (file)
@@ -327,12 +327,14 @@ class STLClient_Test(CStlGeneral_Test):
 
     def test_pcap_remote (self):
         try:
+            pcap_file = os.path.join(CTRexScenario.scripts_path, 'automation/regression/test_pcaps/pcap_dual_test.erf')
+
             master = self.tx_port
             slave = master ^ 0x1
 
             self.c.reset(ports = [master, slave])
             self.c.clear_stats()
-            self.c.push_remote('pcap_dual_test.erf',
+            self.c.push_remote(pcap_file,
                                ports = [master],
                                ipg_usec = 100,
                                is_dual = True)
diff --git a/scripts/automation/regression/test_pcaps/pcap_dual_test.erf b/scripts/automation/regression/test_pcaps/pcap_dual_test.erf
new file mode 100644 (file)
index 0000000..26b0b6b
Binary files /dev/null and b/scripts/automation/regression/test_pcaps/pcap_dual_test.erf differ
diff --git a/scripts/exp/pcap_remote_dual-0.erf b/scripts/exp/pcap_remote_dual-0.erf
new file mode 100644 (file)
index 0000000..e93e0e8
Binary files /dev/null and b/scripts/exp/pcap_remote_dual-0.erf differ