Lines Matching refs:ASSERT_OK
36 ASSERT_OK(setns(root_netns_fd, CLONE_NEWNET), "restore_root_netns"); in restore_root_netns()
148 if (!ASSERT_OK(system(cmd), cmd)) \ in bonding_setup()
187 if (!ASSERT_OK(setns_by_name("ns_dst"), "set netns to ns_dst")) in bonding_setup()
208 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup()
209 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup()
210 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup()
211 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup()
349 if (!ASSERT_OK(setns_by_name("ns_dst"), "could not set netns to ns_dst")) in test_xdp_bonding_redirect_multi()
361 if (!ASSERT_OK(err, "add interface to map_all")) in test_xdp_bonding_redirect_multi()
393 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach()
395 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_attach()
411 if (!ASSERT_OK(err, "set veth master")) in test_xdp_bonding_attach()
444 if (!ASSERT_OK(system("ip link add vxlan type vxlan id 1 remote 1.2.3.4 dstport 0 dev lo"), in test_xdp_bonding_attach()
449 if (!ASSERT_OK(err, "set vxlan master")) in test_xdp_bonding_attach()
472 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_nested()
479 if (!ASSERT_OK(system("ip link add bond_nest1 type bond"), "add bond_nest1")) in test_xdp_bonding_nested()
483 if (!ASSERT_OK(err, "set bond_nest1 master")) in test_xdp_bonding_nested()
486 if (!ASSERT_OK(system("ip link add bond_nest2 type bond"), "add bond_nest1")) in test_xdp_bonding_nested()
490 if (!ASSERT_OK(err, "set bond_nest2 master")) in test_xdp_bonding_nested()