Add test case: inject IPv4 based TCP RST packet after recv S2C first payload
This commit is contained in:
@@ -83,10 +83,6 @@ static void expect_cmp_inject(const char *work_dir,
|
||||
const char *output_dir_abs_path, const char *output_pcap_file,
|
||||
const char *diff_skip_pattern, const char *flow_dir)
|
||||
{
|
||||
printf("\033[32m ============================================= \033[0m\n");
|
||||
printf("\033[32m Compare [%s] expect pcap and output pcap \033[0m\n", flow_dir);
|
||||
printf("\033[32m ============================================= \033[0m\n");
|
||||
|
||||
struct stat s;
|
||||
char expect_pcap_file_abs_path[1024] = {0};
|
||||
char output_pcap_file_abs_path[1024] = {0};
|
||||
@@ -136,7 +132,9 @@ static void expect_cmp_inject(const char *work_dir,
|
||||
|
||||
void packet_injector_test_frame_run(struct packet_injector_case *test)
|
||||
{
|
||||
printf("\033[32m ============================================= \033[0m\n");
|
||||
printf("\033[32mTest: %s\033[0m\n", test->descriptor);
|
||||
printf("\033[32m ============================================= \033[0m\n");
|
||||
|
||||
char config_file_abs_path[1024] = {0};
|
||||
char input_dir_abs_path[1024] = {0};
|
||||
|
||||
Reference in New Issue
Block a user