openvpn/tests/unit_tests/example_test/test2.c
Frank Lichtenheld 3cca3367e6 Reformat the whole project with clang-format
Done with pre-commit run -a, so the version
defined in pre-commit config is used.

This also changes the Github workflow so that
there is no commit that fails GHA.

Change-Id: I2566ad493629e1f5fdfa6f6483b8973463404e3e
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250804151853.10565-1-gert@greenie.muc.de>
URL: https://gerrit.openvpn.net/c/openvpn/+/791
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2025-08-04 21:40:22 +02:00

26 lines
400 B
C

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <setjmp.h>
#include <stdint.h>
#include <cmocka.h>
static void
test_true(void **state)
{
(void)state;
}
int
main(void)
{
const struct CMUnitTest tests[] = {
cmocka_unit_test(test_true),
};
return cmocka_run_group_tests_name("success_test2", tests, NULL, NULL);
}