aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-17 22:35:36 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-17 22:35:36 +0200
commit28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch)
treeebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/testing
parent931232d1141891232e46f5d6fd1432663e730e7a (diff)
downloadgnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz
gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 0ca4c3063..9724fb55b 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -38,12 +38,6 @@
38 38
39 39
40/** 40/**
41 * We need pipe control only on WINDOWS
42 */
43#define PIPE_CONTROL GNUNET_NO
44
45
46/**
47 * Lowest port used for GNUnet testing. Should be high enough to not 41 * Lowest port used for GNUnet testing. Should be high enough to not
48 * conflict with other applications running on the hosts but be low 42 * conflict with other applications running on the hosts but be low
49 * enough to not conflict with client-ports (typically starting around 43 * enough to not conflict with client-ports (typically starting around
@@ -492,8 +486,7 @@ start_shared_service_instance (struct SharedServiceInstance *i)
492 (void) GNUNET_asprintf (&binary, "gnunet-service-%s", i->ss->sname); 486 (void) GNUNET_asprintf (&binary, "gnunet-service-%s", i->ss->sname);
493 libexec_binary = GNUNET_OS_get_libexec_binary_path (binary); 487 libexec_binary = GNUNET_OS_get_libexec_binary_path (binary);
494 GNUNET_free (binary); 488 GNUNET_free (binary);
495 i->proc = GNUNET_OS_start_process (PIPE_CONTROL, 489 i->proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
496 GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
497 NULL, 490 NULL,
498 NULL, 491 NULL,
499 NULL, 492 NULL,
@@ -1378,8 +1371,7 @@ GNUNET_TESTING_peer_start (struct GNUNET_TESTING_Peer *peer)
1378 peer->main_binary = 1371 peer->main_binary =
1379 GNUNET_CONFIGURATION_expand_dollar (peer->cfg, peer->main_binary); 1372 GNUNET_CONFIGURATION_expand_dollar (peer->cfg, peer->main_binary);
1380 peer->main_process = 1373 peer->main_process =
1381 GNUNET_OS_start_process_s (PIPE_CONTROL, 1374 GNUNET_OS_start_process_s (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
1382 GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
1383 NULL, 1375 NULL,
1384 peer->main_binary, 1376 peer->main_binary,
1385 peer->args, 1377 peer->args,