diff options
Diffstat (limited to 'src/transport/transport-testing2.c')
-rw-r--r-- | src/transport/transport-testing2.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index 10b064241..0c85660dd 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c | |||
@@ -939,8 +939,7 @@ communicator_start ( | |||
939 | 939 | ||
940 | 940 | ||
941 | binary = GNUNET_OS_get_libexec_binary_path (binary_name); | 941 | binary = GNUNET_OS_get_libexec_binary_path (binary_name); |
942 | tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_YES, | 942 | tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_OS_INHERIT_STD_OUT_AND_ERR, |
943 | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, | ||
944 | NULL, | 943 | NULL, |
945 | loprefix, | 944 | loprefix, |
946 | binary, | 945 | binary, |
@@ -1026,8 +1025,10 @@ peerstore_start ( | |||
1026 | 1025 | ||
1027 | LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start\n"); | 1026 | LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start\n"); |
1028 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-peerstore"); | 1027 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-peerstore"); |
1029 | tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_YES, | 1028 | LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start binary %s\n", |
1030 | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, | 1029 | binary); |
1030 | LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start 2\n"); | ||
1031 | tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR, | ||
1031 | NULL, | 1032 | NULL, |
1032 | NULL, | 1033 | NULL, |
1033 | NULL, | 1034 | NULL, |
@@ -1036,6 +1037,7 @@ peerstore_start ( | |||
1036 | "-c", | 1037 | "-c", |
1037 | tc_h->cfg_filename, | 1038 | tc_h->cfg_filename, |
1038 | NULL); | 1039 | NULL); |
1040 | LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start 3\n"); | ||
1039 | if (NULL == tc_h->ps_proc) | 1041 | if (NULL == tc_h->ps_proc) |
1040 | { | 1042 | { |
1041 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to start Peerstore!"); | 1043 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to start Peerstore!"); |
@@ -1057,6 +1059,8 @@ nat_start ( | |||
1057 | 1059 | ||
1058 | LOG (GNUNET_ERROR_TYPE_DEBUG, "nat_start\n"); | 1060 | LOG (GNUNET_ERROR_TYPE_DEBUG, "nat_start\n"); |
1059 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-nat"); | 1061 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-nat"); |
1062 | LOG (GNUNET_ERROR_TYPE_DEBUG, "nat_start binary %s\n", | ||
1063 | binary); | ||
1060 | tc_h->nat_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR | 1064 | tc_h->nat_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR |
1061 | | GNUNET_OS_USE_PIPE_CONTROL, | 1065 | | GNUNET_OS_USE_PIPE_CONTROL, |
1062 | NULL, | 1066 | NULL, |
@@ -1154,6 +1158,8 @@ void | |||
1154 | GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop ( | 1158 | GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop ( |
1155 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h) | 1159 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h) |
1156 | { | 1160 | { |
1161 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
1162 | "transport communicator service stop\n"); | ||
1157 | shutdown_communicator (tc_h->c_proc); | 1163 | shutdown_communicator (tc_h->c_proc); |
1158 | shutdown_service (tc_h->sh); | 1164 | shutdown_service (tc_h->sh); |
1159 | shutdown_nat (tc_h->nat_proc); | 1165 | shutdown_nat (tc_h->nat_proc); |