aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_os_start_process.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-17 17:47:53 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-17 17:47:53 +0000
commit3f266fd9a32cc53a3c3d102ca2891ce62da3755b (patch)
tree062d896b8eab91c0cfbf238c2ef03b7b9824007c /src/util/test_os_start_process.c
parentab8320d75c8563702b093edc139ab0652b282737 (diff)
downloadgnunet-3f266fd9a32cc53a3c3d102ca2891ce62da3755b.tar.gz
gnunet-3f266fd9a32cc53a3c3d102ca2891ce62da3755b.zip
syn
Diffstat (limited to 'src/util/test_os_start_process.c')
-rw-r--r--src/util/test_os_start_process.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c
index d6cd623d2..3803259f9 100644
--- a/src/util/test_os_start_process.c
+++ b/src/util/test_os_start_process.c
@@ -33,18 +33,18 @@
33#include "gnunet_scheduler_lib.h" 33#include "gnunet_scheduler_lib.h"
34#include "disk.h" 34#include "disk.h"
35 35
36#define VERBOSE GNUNET_NO 36#define VERBOSE GNUNET_YES
37 37
38static char *test_phrase = "HELLO WORLD"; 38static char *test_phrase = "HELLO WORLD";
39static int ok; 39static int ok;
40 40
41pid_t pid; 41static pid_t pid;
42/* Pipe to write to started processes stdin (on write end) */ 42/* Pipe to write to started processes stdin (on write end) */
43struct GNUNET_DISK_PipeHandle *hello_pipe_stdin; 43static struct GNUNET_DISK_PipeHandle *hello_pipe_stdin;
44/* Pipe to read from started processes stdout (on read end) */ 44/* Pipe to read from started processes stdout (on read end) */
45struct GNUNET_DISK_PipeHandle *hello_pipe_stdout; 45static struct GNUNET_DISK_PipeHandle *hello_pipe_stdout;
46 46
47GNUNET_SCHEDULER_TaskIdentifier die_task; 47static GNUNET_SCHEDULER_TaskIdentifier die_task;
48 48
49static void 49static void
50end_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 50end_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -166,7 +166,7 @@ main (int argc, char *argv[])
166{ 166{
167 int ret; 167 int ret;
168 168
169 GNUNET_log_setup ("test-start-process", 169 GNUNET_log_setup ("test-os-start-process",
170#if VERBOSE 170#if VERBOSE
171 "DEBUG", 171 "DEBUG",
172#else 172#else