We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0ec8c commit 77a7a82Copy full SHA for 77a7a82
tools/testing/selftests/bpf/prog_tests/test_tunnel.c
@@ -535,23 +535,20 @@ static void test_ipip_tunnel(enum ipip_encap encap)
535
#define RUN_TEST(name, ...) \
536
({ \
537
if (test__start_subtest(#name)) { \
538
+ config_device(); \
539
test_ ## name(__VA_ARGS__); \
540
+ cleanup(); \
541
} \
542
})
543
544
static void *test_tunnel_run_tests(void *arg)
545
{
- cleanup();
- config_device();
546
-
547
RUN_TEST(vxlan_tunnel);
548
RUN_TEST(ip6vxlan_tunnel);
549
RUN_TEST(ipip_tunnel, NONE);
550
RUN_TEST(ipip_tunnel, FOU);
551
RUN_TEST(ipip_tunnel, GUE);
552
553
554
555
return NULL;
556
}
557
0 commit comments