From 8bb73c2a743aed0eaff22b35c4979ce2ea687be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 21 Jan 2022 20:41:18 +0400 Subject: [PATCH] tests: replace ipconfig call in spawn-multithread on win32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use a silent command instead (tbh, I don't understand the need for this) Signed-off-by: Marc-André Lureau --- glib/tests/spawn-multithreaded.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/tests/spawn-multithreaded.c b/glib/tests/spawn-multithreaded.c index 69fffec11..fc0bf9c6e 100644 --- a/glib/tests/spawn-multithreaded.c +++ b/glib/tests/spawn-multithreaded.c @@ -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