Lines Matching refs:test_cases
70 static struct test_case test_cases[] = { variable
352 config_so_flags(rcv, test_cases[test_num].sockopt); in run_test_case()
356 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case()
364 print_test_case(&test_cases[test_num]); in run_test_case()
365 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
386 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
388 print_test_case(&test_cases[t]); in main()
393 if (t >= ARRAY_SIZE(test_cases)) in main()
396 test_cases[t].enabled = true; in main()
432 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
433 if (!all_tests && !test_cases[t].enabled) in main()