xref: /linux/tools/testing/selftests/bpf/prog_tests/access_variable_array.c (revision a0563f58300360ef2a00b8fcfea91711594d70be)
1  // SPDX-License-Identifier: GPL-2.0
2  /* Copyright (c) 2022 Bytedance */
3  
4  #include <test_progs.h>
5  #include "test_access_variable_array.skel.h"
6  
7  void test_access_variable_array(void)
8  {
9  	struct test_access_variable_array *skel;
10  
11  	skel = test_access_variable_array__open_and_load();
12  	if (!ASSERT_OK_PTR(skel, "test_access_variable_array__open_and_load"))
13  		return;
14  
15  	test_access_variable_array__destroy(skel);
16  }
17