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