diff --git a/src/platform/tests/test-general.c b/src/platform/tests/test-general.c index 2f29d7de70..9a6a79d44a 100644 --- a/src/platform/tests/test-general.c +++ b/src/platform/tests/test-general.c @@ -20,11 +20,24 @@ #include "nm-platform-utils.h" +#include + +#include "nm-linux-platform.h" #include "nm-logging.h" #include "nm-test-utils.h" +/******************************************************************/ + +static void +test_init_linux_platform () +{ + gs_unref_object NMPlatform *platform = NULL; + + platform = g_object_new (NM_TYPE_LINUX_PLATFORM, NULL); +} + /******************************************************************/ NMTST_DEFINE (); @@ -34,5 +47,7 @@ main (int argc, char **argv) { nmtst_init_assert_logging (&argc, &argv, "INFO", "DEFAULT"); + g_test_add_func ("/general/init_linux_platform", test_init_linux_platform); + return g_test_run (); }