summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-04-22 11:49:46 +0200
committerThomas Haller <thaller@redhat.com>2014-04-22 11:49:57 +0200
commit6fcbd205971370c58f937b50c6cb51bbbda0a51a (patch)
treeffc6b21db03b9b6cdf85fbb0c0735b23a4913a63
parent0757e33e746f0a203b4a4c5f386307e3a8ed9766 (diff)
ifnet/test: fix test breakage after moving wifi-utils to platform
Need to initialize (fake) platform. This regression was introduced by commit df435f40152255aa95f82df00d4a776ea9605d58. Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/settings/plugins/ifnet/tests/test_all.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings/plugins/ifnet/tests/test_all.c b/src/settings/plugins/ifnet/tests/test_all.c
index 27f8e5ff55..4801acdda0 100644
--- a/src/settings/plugins/ifnet/tests/test_all.c
+++ b/src/settings/plugins/ifnet/tests/test_all.c
@@ -34,6 +34,7 @@
#include "wpa_parser.h"
#include "connection_parser.h"
#include "nm-config.h"
+#include "nm-fake-platform.h"
/* Fake NMConfig handling; the values it returns don't matter, so this
* is easier than forcing it to read our own config file, etc.
@@ -434,6 +435,8 @@ main (int argc, char **argv)
g_type_init ();
+ nm_fake_platform_setup ();
+
f = g_build_filename (argv[1], "net", NULL);
ifnet_init (f);
g_free (f);