tests: replace ipconfig call in spawn-multithread on win32

Use a silent command instead (tbh, I don't understand the need for this)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-01-21 20:41:18 +04:00
parent 6e6d8000a4
commit 8bb73c2a74

View File

@ -145,7 +145,7 @@ test_spawn_childs (void)
global_main_loop = g_main_loop_new (NULL, FALSE);
#ifdef G_OS_WIN32
system ("ipconfig /all");
system ("cd .");
#else
system ("true");
#endif
@ -172,7 +172,7 @@ test_spawn_childs_threads (void)
global_main_loop = g_main_loop_new (NULL, FALSE);
#ifdef G_OS_WIN32
system ("ipconfig /all");
system ("cd .");
#else
system ("true");
#endif