diff options
author | imarom <imarom@cisco.com> | 2016-02-09 09:02:04 -0500 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-02-09 09:10:23 -0500 |
commit | a94f1cdde418a7e96fce6f9c5ec52da5bafbd4b9 (patch) | |
tree | 856a6b21ec5ee2ba16fdcc1ec721f0b6e0c8e087 /src | |
parent | e8ba50a8940c1288011b434bb1a7df2159578d67 (diff) |
YAML profiles fixup
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest/trex_stateless_gtest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gtest/trex_stateless_gtest.cpp b/src/gtest/trex_stateless_gtest.cpp index f01346b0..90f0606d 100644 --- a/src/gtest/trex_stateless_gtest.cpp +++ b/src/gtest/trex_stateless_gtest.cpp @@ -994,7 +994,7 @@ TEST_F(basic_vm, vm_syn_attack) { vm.Dump(stdout); CPcapLoader pcap; - pcap.load_pcap_file("stl/syn_packet.pcap",0); + pcap.load_pcap_file("yaml/syn_packet.pcap",0); @@ -1120,7 +1120,7 @@ TEST_F(basic_vm, vm_inc_size_64_128) { vm.add_instruction( new StreamVmInstructionWriteToPkt( "rand_pkt_size_var",32+6, -(14+20),true) ); - run_vm_program(vm,"stl/udp_1518B_no_crc.pcap","stl_vm_inc_size_64_128",20); + run_vm_program(vm,"yaml/udp_1518B_no_crc.pcap","stl_vm_inc_size_64_128",20); } TEST_F(basic_vm, vm_random_size_64_128) { @@ -1150,7 +1150,7 @@ TEST_F(basic_vm, vm_random_size_64_128) { ); - run_vm_program(vm,"stl/udp_1518B_no_crc.pcap","stl_vm_rand_size_64_128",20); + run_vm_program(vm,"yaml/udp_1518B_no_crc.pcap","stl_vm_rand_size_64_128",20); } @@ -1186,7 +1186,7 @@ TEST_F(basic_vm, vm_random_size_64_127_128) { bool fail=false; try { - run_vm_program(vm,"stl/udp_64B_no_crc.pcap","stl_vm_rand_size_64B_127_128",20); + run_vm_program(vm,"yaml/udp_64B_no_crc.pcap","stl_vm_rand_size_64B_127_128",20); } catch (const TrexException &ex) { fail=true; } @@ -1222,7 +1222,7 @@ TEST_F(basic_vm, vm_random_size_500b_0_9k) { vm.add_instruction( new StreamVmInstructionWriteToPkt( "rand_pkt_size_var",32+6, -(14+20),true) ); - run_vm_program(vm,"stl/udp_594B_no_crc.pcap","stl_vm_rand_size_512B_64_128",10); + run_vm_program(vm,"yaml/udp_594B_no_crc.pcap","stl_vm_rand_size_512B_64_128",10); } @@ -2404,7 +2404,7 @@ TEST_F(basic_stl, vm_enable1) { CEnableVm vm_test; vm_test.m_out_file = "exp/stl_vm_enable1"; - vm_test.m_input_packet = "stl/udp_594B_no_crc.pcap"; + vm_test.m_input_packet = "yaml/udp_594B_no_crc.pcap"; vm_test.run(false); } |