xref: /linux/tools/testing/selftests/bpf/prog_tests/nested_trust.c (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
3 
4 #include <test_progs.h>
5 #include "nested_trust_failure.skel.h"
6 #include "nested_trust_success.skel.h"
7 #include "nested_acquire.skel.h"
8 
test_nested_trust(void)9 void test_nested_trust(void)
10 {
11 	RUN_TESTS(nested_trust_success);
12 	RUN_TESTS(nested_trust_failure);
13 
14 	if (env.has_testmod)
15 		RUN_TESTS(nested_acquire);
16 }
17