summaryrefslogtreecommitdiffstats
path: root/lib/libxdp/tests/check_kern_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxdp/tests/check_kern_compat.c')
-rw-r--r--lib/libxdp/tests/check_kern_compat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libxdp/tests/check_kern_compat.c b/lib/libxdp/tests/check_kern_compat.c
new file mode 100644
index 0000000..8fb8991
--- /dev/null
+++ b/lib/libxdp/tests/check_kern_compat.c
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#include "test_utils.h"
+#include "../libxdp_internal.h"
+
+int main(__unused int argc, __unused char** argv)
+{
+ silence_libbpf_logging();
+ return libxdp_check_kern_compat();
+}