mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 15:28:00 +02:00
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:
parent
0757e33e74
commit
6fcbd20597
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue