summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-07-17 14:54:35 +0200
committerThomas Haller <thaller@redhat.com>2015-08-05 15:25:29 +0200
commit5ebea89252b375726c6c8d6b80e0245e83f0080d (patch)
tree85e826f4ea55110a25609edddee010ceacbb575b
parentcc16e9456214ab1fb0221599cac094786b5bef6a (diff)
downloadNetworkManager-5ebea89252b375726c6c8d6b80e0245e83f0080d.tar.gz
supplicant/test: fix wrong usage of nmtst_init() inside core tests
-rw-r--r--src/supplicant-manager/tests/test-supplicant-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/supplicant-manager/tests/test-supplicant-config.c b/src/supplicant-manager/tests/test-supplicant-config.c
index 937757b220..db4342fec7 100644
--- a/src/supplicant-manager/tests/test-supplicant-config.c
+++ b/src/supplicant-manager/tests/test-supplicant-config.c
@@ -36,6 +36,7 @@
#include "nm-supplicant-config.h"
#include "nm-supplicant-settings-verify.h"
+#include "nm-logging.h"
#include "nm-test-utils.h"
@@ -443,7 +444,7 @@ NMTST_DEFINE ();
int main (int argc, char **argv)
{
- nmtst_init (&argc, &argv, TRUE);
+ nmtst_init_assert_logging (&argc, &argv, "INFO", "DEFAULT");
g_test_add_func ("/supplicant-config/wifi-open", test_wifi_open);
g_test_add_func ("/supplicant-config/wifi-wep", test_wifi_wep);