diff options
author | LRN <lrn1986@gmail.com> | 2013-02-14 18:33:11 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-02-14 18:33:11 +0000 |
commit | 0e9d7f60c2ebe8b3072f9d1bc233fb6c8204de00 (patch) | |
tree | 83c0faf37edeb46dbf41cde102682979b30eaa36 /src/util | |
parent | 032046e9034d6e4ff63910df2b846c0bc9d18b34 (diff) | |
download | gnunet-0e9d7f60c2ebe8b3072f9d1bc233fb6c8204de00.tar.gz gnunet-0e9d7f60c2ebe8b3072f9d1bc233fb6c8204de00.zip |
Temporary fix to make test_os_start_process pass again
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/test_os_start_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c index 599451898..fc548e881 100644 --- a/src/util/test_os_start_process.c +++ b/src/util/test_os_start_process.c | |||
@@ -201,7 +201,7 @@ check_kill () | |||
201 | return 1; | 201 | return 1; |
202 | } | 202 | } |
203 | proc = | 203 | proc = |
204 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, fn, | 204 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, "gnunet-service-resolver", |
205 | "gnunet-service-resolver", "-", NULL); | 205 | "gnunet-service-resolver", "-", NULL); |
206 | sleep (1); /* give process time to start, so we actually use the pipe-kill mechanism! */ | 206 | sleep (1); /* give process time to start, so we actually use the pipe-kill mechanism! */ |
207 | GNUNET_free (fn); | 207 | GNUNET_free (fn); |
@@ -236,7 +236,7 @@ check_instant_kill () | |||
236 | return 1; | 236 | return 1; |
237 | } | 237 | } |
238 | proc = | 238 | proc = |
239 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, fn, | 239 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, "gnunet-service-resolver", |
240 | "gnunet-service-resolver", "-", NULL); | 240 | "gnunet-service-resolver", "-", NULL); |
241 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) | 241 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) |
242 | { | 242 | { |