From 6eb5bd8192113b1a50e06dd732270c98c4edddee Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Mon, 10 Sep 2018 12:09:50 +0100 Subject: [PATCH] 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. --- gio/tests/network-monitor-race.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gio/tests/network-monitor-race.c b/gio/tests/network-monitor-race.c index cadd62cee..9c6866e6a 100644 --- a/gio/tests/network-monitor-race.c +++ b/gio/tests/network-monitor-race.c @@ -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 (); } }