aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/test_os_start_process.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c
index 6d4a131bb..ff5021d03 100644
--- a/src/util/test_os_start_process.c
+++ b/src/util/test_os_start_process.c
@@ -124,11 +124,8 @@ run_task (void *cls)
124 124
125 GNUNET_asprintf (&fn, "cat"); 125 GNUNET_asprintf (&fn, "cat");
126 126
127 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, 127 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
128 GNUNET_NO); 128 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
129 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO,
130 GNUNET_YES);
131
132 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) 129 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
133 { 130 {
134 GNUNET_break (0); 131 GNUNET_break (0);
@@ -202,10 +199,8 @@ check_kill ()
202{ 199{
203 char *fn; 200 char *fn;
204 201
205 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, 202 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
206 GNUNET_NO); 203 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
207 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO,
208 GNUNET_YES);
209 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) 204 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
210 { 205 {
211 return 1; 206 return 1;
@@ -247,10 +242,8 @@ check_instant_kill ()
247{ 242{
248 char *fn; 243 char *fn;
249 244
250 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, 245 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
251 GNUNET_NO); 246 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
252 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO,
253 GNUNET_YES);
254 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) 247 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
255 { 248 {
256 return 1; 249 return 1;