Home
last modified time | relevance | path

Searched refs:SYS_NOFAIL (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_storage.c23 SYS_NOFAIL("ip netns del %s", TEST_NS); in setup_network()
31 SYS_NOFAIL("ip netns del %s", TEST_NS); in cleanup_network()
60 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
62 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
64 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
82 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
84 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
86 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
H A Dtest_tunnel.c120 SYS_NOFAIL("test -f /var/run/netns/at_ns0 && ip netns delete at_ns0"); in cleanup()
121 SYS_NOFAIL("ip link del veth1"); in cleanup()
122 SYS_NOFAIL("ip link del %s", VXLAN_TUNL_DEV1); in cleanup()
123 SYS_NOFAIL("ip link del %s", IP6VXLAN_TUNL_DEV1); in cleanup()
155 SYS_NOFAIL("ip netns exec at_ns0 ip link delete dev %s", in delete_vxlan_tunnel()
157 SYS_NOFAIL("ip link delete dev %s", VXLAN_TUNL_DEV1); in delete_vxlan_tunnel()
191 SYS_NOFAIL("ip netns exec at_ns0 ip -6 addr delete %s/96 dev veth0", in delete_ip6vxlan_tunnel()
193 SYS_NOFAIL("ip -6 addr delete %s/96 dev veth1", IP6_ADDR1_VETH1); in delete_ip6vxlan_tunnel()
194 SYS_NOFAIL("ip -6 addr delete %s/96 dev veth1", IP6_ADDR2_VETH1); in delete_ip6vxlan_tunnel()
195 SYS_NOFAIL("ip netns exec at_ns0 ip link delete dev %s", in delete_ip6vxlan_tunnel()
[all …]
H A Dxdp_flowtable.c72 if (SYS_NOFAIL("nft -v")) { in test_xdp_flowtable()
166 SYS_NOFAIL("ip netns del " TX_NETNS_NAME); in test_xdp_flowtable()
167 SYS_NOFAIL("ip netns del " RX_NETNS_NAME); in test_xdp_flowtable()
H A Dip_check_defrag.c62 up = !SYS_NOFAIL("ip netns exec " NS0 " ping -6 -c 1 -W 1 " VETH1_ADDR6); in setup_topology()
64 up = !SYS_NOFAIL("ip netns exec " NS0 " ping -c 1 -W 1 " VETH1_ADDR); in setup_topology()
77 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " NS0); in cleanup_topology()
78 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " NS1); in cleanup_topology()
H A Dsock_iter_batch.c115 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch()
134 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch()
H A Dxfrm_info.c107 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " NS0); in cleanup()
108 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " NS1); in cleanup()
109 SYS_NOFAIL("test -f /var/run/netns/" NS2 " && ip netns delete " NS2); in cleanup()
H A Dcgroup_ancestor.c80 SYS_NOFAIL("ip netns del %s", TEST_NS); in setup_network()
90 SYS_NOFAIL("ip netns del %s", TEST_NS); in cleanup_network()
H A Dxdp_synproxy.c168 SYS_NOFAIL("ip link del tmp0"); in test_synproxy()
169 SYS_NOFAIL("ip netns del synproxy"); in test_synproxy()
H A Dtest_xdp_veth.c172 SYS_NOFAIL("ip netns del %s", config[i].namespace); in cleanup_network()
180 return SYS_NOFAIL("ip netns exec %s ping -c 1 -W 1 %s > /dev/null", in check_ping()
H A Dvrf_socket_lookup.c137 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " in cleanup()
139 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " in cleanup()
H A Dxdp_devmap_attach.c95 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers()
229 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers_veth()
H A Dxdp_dev_bound_only.c60 SYS_NOFAIL("ip netns del " LOCAL_NETNS); in test_xdp_dev_bound_only_offdev()
H A Ddecap_sanity.c74 SYS_NOFAIL("ip netns del " NS_TEST); in test_decap_sanity()
H A Dempty_skb.c150 SYS_NOFAIL("ip netns del empty_skb"); in test_empty_skb()
H A Dlwt_reroute.c68 SYS_NOFAIL("ping %s -c1 -W1 -s %d", in ping_once()
H A Dsock_destroy.c217 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_destroy()
H A Dlwt_redirect.c88 SYS_NOFAIL("ping %s -c1 -W1 -s %d", in ping_dev()
H A Dxdp_metadata.c540 SYS_NOFAIL("ip netns del " RX_NETNS_NAME); in test_xdp_metadata()
541 SYS_NOFAIL("ip netns del " TX_NETNS_NAME); in test_xdp_metadata()
H A Dxdp_do_redirect.c246 SYS_NOFAIL("ip netns del testns"); in test_xdp_do_redirect()
H A Dassign_reuse.c196 SYS_NOFAIL("ip netns delete %s", NS_TEST); in test_assign_reuse()
H A Dns_current_pid_tgid.c219 SYS_NOFAIL("ip netns del ns_current_pid_tgid"); in test_in_netns()
H A Dcrypto_sanity.c194 SYS_NOFAIL("ip netns del " NS_TEST " &> /dev/null"); in test_crypto_sanity()
H A Dmptcp.c82 SYS_NOFAIL("ip netns del %s", NS_TEST); in cleanup_netns()
H A Dfib_lookup.c375 SYS_NOFAIL("ip netns del " NS_TEST); in test_fib_lookup()
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h403 #define SYS_NOFAIL(fmt, ...) \ macro

12