Lines Matching refs:test_cases
68 static struct test_case test_cases[] = { variable
334 config_so_flags(rcv, test_cases[test_num].sockopt); in run_test_case()
338 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case()
346 print_test_case(&test_cases[test_num]); in run_test_case()
347 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
368 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
370 print_test_case(&test_cases[t]); in main()
375 if (t >= ARRAY_SIZE(test_cases)) in main()
378 test_cases[t].enabled = true; in main()
414 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
415 if (!all_tests && !test_cases[t].enabled) in main()