Lines Matching refs:CHECK_FAIL
38 if (CHECK_FAIL(!tc)) in configure_stack()
40 if (CHECK_FAIL(!fgets(tc_version, sizeof(tc_version), tc))) in configure_stack()
46 if (CHECK_FAIL(pclose(tc))) in configure_stack()
50 if (CHECK_FAIL(unshare(CLONE_NEWNET))) in configure_stack()
54 if (CHECK_FAIL(system("ip link set dev lo up"))) in configure_stack()
56 if (CHECK_FAIL(system("ip route add local default dev lo"))) in configure_stack()
58 if (CHECK_FAIL(system("ip -6 route add local default dev lo"))) in configure_stack()
62 if (CHECK_FAIL(system("tc qdisc add dev lo clsact"))) in configure_stack()
82 if (CHECK_FAIL(getsockname(fd, (struct sockaddr *)&ss, &slen))) in get_port()
125 if (CHECK_FAIL(srv_client == -1)) { in run_test()
132 if (CHECK_FAIL(write(client, buf, sizeof(buf)) != sizeof(buf))) { in run_test()
136 if (CHECK_FAIL(rcv_msg(srv_client, type) != sizeof(buf))) { in run_test()
142 if (CHECK_FAIL(!port)) in run_test()
240 if (CHECK_FAIL(self_net < 0)) { in test_sk_assign()
251 if (CHECK_FAIL(server_map < 0)) { in test_sk_assign()
273 if (CHECK_FAIL(err)) { in test_sk_assign()
292 if (CHECK_FAIL(unlink(SERVER_MAP_PATH))) in test_sk_assign()
294 if (CHECK_FAIL(setns(self_net, CLONE_NEWNET))) in test_sk_assign()