ifnet/test: fix test breakage after moving wifi-utils to platform

Need to initialize (fake) platform.

This regression was introduced by commit df435f4015.

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-04-22 11:49:46 +02:00
parent 0757e33e74
commit 6fcbd20597

View file

@ -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);