[glib: 2/7] tests: replace ipconfig call in spawn-multithread on win32
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/7] tests: replace ipconfig call in spawn-multithread on win32
- Date: Fri, 4 Mar 2022 16:16:40 +0000 (UTC)
commit 8bb73c2a743aed0eaff22b35c4979ce2ea687be0
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Fri Jan 21 20:41:18 2022 +0400
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>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]