fixing up all gtests results (due to split now in order instead of
authorimarom <[email protected]>
Sun, 25 Sep 2016 06:15:17 +0000 (09:15 +0300)
committerimarom <[email protected]>
Sun, 25 Sep 2016 12:08:08 +0000 (15:08 +0300)
segments)

scripts/exp/stl_vm_inc_size_64_128-ex.pcap
scripts/exp/stl_vm_split_client_var.erf-0-ex.erf
scripts/exp/stl_vm_split_client_var.erf-0.erf
scripts/exp/stl_vm_split_flow_var_big_range.erf-0-ex.erf
scripts/exp/stl_vm_split_flow_var_big_range.erf-0.erf
scripts/exp/stl_vm_split_flow_var_inc.erf-0-ex.erf
scripts/exp/stl_vm_split_flow_var_inc.erf-0.erf
scripts/exp/stl_vm_split_flow_var_small_range.erf-0-ex.erf
scripts/exp/stl_vm_split_flow_var_small_range.erf-0.erf
src/gtest/trex_stateless_gtest.cpp

index 1e44c30..fa09c51 100644 (file)
Binary files a/scripts/exp/stl_vm_inc_size_64_128-ex.pcap and b/scripts/exp/stl_vm_inc_size_64_128-ex.pcap differ
index 25b2a2b..77f0a5f 100644 (file)
Binary files a/scripts/exp/stl_vm_split_client_var.erf-0-ex.erf and b/scripts/exp/stl_vm_split_client_var.erf-0-ex.erf differ
index f156bfe..77f0a5f 100644 (file)
Binary files a/scripts/exp/stl_vm_split_client_var.erf-0.erf and b/scripts/exp/stl_vm_split_client_var.erf-0.erf differ
index d5ad29d..f1252e9 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_big_range.erf-0-ex.erf and b/scripts/exp/stl_vm_split_flow_var_big_range.erf-0-ex.erf differ
index 9a38672..f1252e9 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_big_range.erf-0.erf and b/scripts/exp/stl_vm_split_flow_var_big_range.erf-0.erf differ
index a938b37..79995f3 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_inc.erf-0-ex.erf and b/scripts/exp/stl_vm_split_flow_var_inc.erf-0-ex.erf differ
index e6b9b85..79995f3 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_inc.erf-0.erf and b/scripts/exp/stl_vm_split_flow_var_inc.erf-0.erf differ
index 94e493f..e3283c9 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_small_range.erf-0-ex.erf and b/scripts/exp/stl_vm_split_flow_var_small_range.erf-0-ex.erf differ
index 0a13e82..e3283c9 100644 (file)
Binary files a/scripts/exp/stl_vm_split_flow_var_small_range.erf-0.erf and b/scripts/exp/stl_vm_split_flow_var_small_range.erf-0.erf differ
index 96a6d25..09942c5 100644 (file)
@@ -244,7 +244,7 @@ TEST_F(basic_vm, vm0) {
 
     vm.add_instruction( new StreamVmInstructionFixChecksumIpv4(20) );
     vm.add_instruction( new StreamVmInstructionFlowMan( "var1",8,
-                                                        StreamVmInstructionFlowMan::FLOW_VAR_OP_INC,0,1,7 )
+                                                        StreamVmInstructionFlowMan::FLOW_VAR_OP_INC,1,1,7 )
                         );
     vm.add_instruction( new StreamVmInstructionWriteToPkt( "var1",14, 0,true)
                         );
@@ -257,7 +257,7 @@ TEST_F(basic_vm, vm1) {
     StreamVm vm;
 
     vm.add_instruction( new StreamVmInstructionFlowMan( "var1",1,
-                                                        StreamVmInstructionFlowMan::FLOW_VAR_OP_INC,0,1,7 )
+                                                        StreamVmInstructionFlowMan::FLOW_VAR_OP_INC,1,1,7 )
                         );
     vm.add_instruction( new StreamVmInstructionWriteToPkt( "var1",26, 0,true)
                         );
@@ -2006,14 +2006,14 @@ TEST_F(basic_vm, vm_syn_attack) {
     vm.add_instruction( new StreamVmInstructionFlowMan( "src_port",
                                                         2,
                                                         StreamVmInstructionFlowMan::FLOW_VAR_OP_RANDOM,
-                                                        0,
+                                                        1025,
                                                         1025,
                                                         65000));
 
     vm.add_instruction( new StreamVmInstructionFlowMan( "dst_port",
                                                         2,
                                                         StreamVmInstructionFlowMan::FLOW_VAR_OP_RANDOM,
-                                                        0,
+                                                        1025,
                                                         1025,
                                                         65000));
 
@@ -2158,7 +2158,7 @@ TEST_F(basic_vm, vm_inc_size_64_128) {
     vm.add_instruction( new StreamVmInstructionFlowMan( "rand_pkt_size_var",
                                                         2,                // size var  must be 16bit size
                                                         StreamVmInstructionFlowMan::FLOW_VAR_OP_INC,
-                                                        127,
+                                                        128,
                                                         128,
                                                         256));
 
@@ -2187,7 +2187,7 @@ TEST_F(basic_vm, vm_random_size_64_128) {
     vm.add_instruction( new StreamVmInstructionFlowMan( "rand_pkt_size_var",
                                                         2,                // size var  must be 16bit size
                                                         StreamVmInstructionFlowMan::FLOW_VAR_OP_RANDOM,
-                                                        0,
+                                                        128,
                                                         128,
                                                         256));
 
@@ -2221,7 +2221,7 @@ TEST_F(basic_vm, vm_random_size_64_127_128) {
     vm.add_instruction( new StreamVmInstructionFlowMan( "rand_pkt_size_var",
                                                         2,                // size var  must be 16bit size
                                                         StreamVmInstructionFlowMan::FLOW_VAR_OP_RANDOM,
-                                                        127,
+                                                        128,
                                                         128,
                                                         256));