* Uneven test: one heavy stream (128 sends), three light streams (8 sends) */
| 404 | * Uneven test: one heavy stream (128 sends), three light streams (8 sends) |
| 405 | */ |
| 406 | static int test_shared_uneven(void) |
| 407 | { |
| 408 | int sends[NR_STREAMS]; |
| 409 | int i; |
| 410 | |
| 411 | if (no_buf_ring || no_mshot_recv) |
| 412 | return T_EXIT_SKIP; |
| 413 | |
| 414 | sends[0] = NR_SENDS_BIG; |
| 415 | for (i = 1; i < NR_STREAMS; i++) |
| 416 | sends[i] = NR_SENDS_SMALL; |
| 417 | |
| 418 | return run_shared_test(NR_BUFS_BASIC, sends); |
| 419 | } |
| 420 | |
| 421 | int main(int argc, char *argv[]) |
| 422 | { |
no test coverage detected