Lines Matching refs:system
148 if (!ASSERT_OK(system(cmd), cmd)) \ 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()
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()
410 err = system("ip link set veth master bond"); 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()
448 err = system("ip link set vxlan master bond"); in test_xdp_bonding_attach()
461 system("ip link del veth"); in test_xdp_bonding_attach()
462 system("ip link del bond"); in test_xdp_bonding_attach()
463 system("ip link del vxlan"); 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()
482 err = system("ip link set bond_nest1 master bond"); 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()
489 err = system("ip link set bond_nest2 master bond_nest1"); in test_xdp_bonding_nested()
498 system("ip link del bond"); in test_xdp_bonding_nested()
499 system("ip link del bond_nest1"); in test_xdp_bonding_nested()
500 system("ip link del bond_nest2"); in test_xdp_bonding_nested()