diff options
| author | Michael Biebl <biebl@debian.org> | 2016-01-20 16:26:51 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-01-20 16:26:51 +0100 |
| commit | 494f296a3baab08522617b24b1f126d8f9a17502 (patch) | |
| tree | c8ef32fb0dd1c4ff35a0b38e787abb58692de0cd /src/tests/test-dcb.c | |
| parent | 54f6333410ffd570e62717d9e77c5c987175e397 (diff) | |
Imported Upstream version 1.1.90 upstream/1.1.90
Diffstat (limited to 'src/tests/test-dcb.c')
| -rw-r--r-- | src/tests/test-dcb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/test-dcb.c b/src/tests/test-dcb.c index dacb1f52..35f1ed0f 100644 --- a/src/tests/test-dcb.c +++ b/src/tests/test-dcb.c @@ -20,11 +20,13 @@ #include "config.h" -#include <glib.h> #include <string.h> +#include "nm-default.h" #include "nm-dcb.h" +#include "nm-test-utils.h" + typedef struct { guint num; const char *cmds[]; @@ -335,14 +337,12 @@ test_fcoe_cleanup (void) /*******************************************/ +NMTST_DEFINE (); + int main (int argc, char **argv) { - g_test_init (&argc, &argv, NULL); - -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif + nmtst_init_assert_logging (&argc, &argv, "INFO", "DEFAULT"); g_test_add_func ("/dcb/fcoe", test_dcb_fcoe); g_test_add_func ("/dcb/iscsi", test_dcb_iscsi); |