diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2017-05-09 18:09:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2017-05-09 18:09:18 +0000 |
commit | 8d020909941acca43cf7e772a99682a894347526 (patch) | |
tree | 8cfe147125735d74a4d7f9e24935daf3d93d7f3e /test/gtest/test_tle_udp_stream_gen.h | |
parent | 36d90e3aa7ad9a72f7acbefa4d409a71d78bfd25 (diff) | |
parent | 68f21c315fccc74ee6bec7e3b19da253d2afbf60 (diff) |
Merge "tldk_test: added copy command to makefile to make test_scapy_gen.py visible"
Diffstat (limited to 'test/gtest/test_tle_udp_stream_gen.h')
-rw-r--r-- | test/gtest/test_tle_udp_stream_gen.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gtest/test_tle_udp_stream_gen.h b/test/gtest/test_tle_udp_stream_gen.h index 294e37c..0f3d11b 100644 --- a/test/gtest/test_tle_udp_stream_gen.h +++ b/test/gtest/test_tle_udp_stream_gen.h @@ -345,7 +345,7 @@ test_tle_udp_gen_base::prepare_pcaps(string l_ip, string r_ip, int l_port, string py_cmd; /* generate pcap rx & tx files * for tests using scapy */ - py_cmd = "python ./test/gtest/test_scapy_gen.py "; + py_cmd = "python " + string(binpath) + "/test_scapy_gen.py "; py_cmd = py_cmd + " " + l_ip + " " + r_ip + " " + to_string(l_port) + " " + to_string(r_port) + " " + to_string(nb_pkts); @@ -356,7 +356,6 @@ test_tle_udp_gen_base::prepare_pcaps(string l_ip, string r_ip, int l_port, py_cmd = py_cmd + " -bc4 " + to_string(l4_chksum); py_cmd = py_cmd + " " + rx_pcap_dest; system(py_cmd.c_str()); - return 0; } |