diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-17 15:00:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-17 15:00:27 +0200 |
commit | c37363f1cd919495c43d138a8cc2bd71de65f83c (patch) | |
tree | 5844d6f61e3e721915cd7d1472a73209b6a04f5d /src | |
parent | 84e5706cbe249aa858d0c4a7d3405e1c2f7fc3a4 (diff) | |
download | gnunet-c37363f1cd919495c43d138a8cc2bd71de65f83c.tar.gz gnunet-c37363f1cd919495c43d138a8cc2bd71de65f83c.zip |
fix ftbfs
Diffstat (limited to 'src')
-rw-r--r-- | src/util/test_os_start_process.c | 19 |
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; |