mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
network-monitor-race test: Have the subprocess inherit stdout and stderr
If initialising the monitors produces any debug output, it is good to be able to see it when running this test.
This commit is contained in:
parent
36c79adb2f
commit
6eb5bd8192
@ -74,7 +74,10 @@ test_network_monitor (void)
|
||||
|
||||
for (ii = 0; ii < MAX_RUNS; ii++)
|
||||
{
|
||||
g_test_trap_subprocess (NULL, 0, 0);
|
||||
g_test_trap_subprocess (NULL,
|
||||
0,
|
||||
G_TEST_SUBPROCESS_INHERIT_STDOUT |
|
||||
G_TEST_SUBPROCESS_INHERIT_STDERR);
|
||||
g_test_trap_assert_passed ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user