diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-17 17:47:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-17 17:47:53 +0000 |
commit | 3f266fd9a32cc53a3c3d102ca2891ce62da3755b (patch) | |
tree | 062d896b8eab91c0cfbf238c2ef03b7b9824007c /src/util/test_os_start_process.c | |
parent | ab8320d75c8563702b093edc139ab0652b282737 (diff) | |
download | gnunet-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.c | 12 |
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 | ||
38 | static char *test_phrase = "HELLO WORLD"; | 38 | static char *test_phrase = "HELLO WORLD"; |
39 | static int ok; | 39 | static int ok; |
40 | 40 | ||
41 | pid_t pid; | 41 | static 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) */ |
43 | struct GNUNET_DISK_PipeHandle *hello_pipe_stdin; | 43 | static 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) */ |
45 | struct GNUNET_DISK_PipeHandle *hello_pipe_stdout; | 45 | static struct GNUNET_DISK_PipeHandle *hello_pipe_stdout; |
46 | 46 | ||
47 | GNUNET_SCHEDULER_TaskIdentifier die_task; | 47 | static GNUNET_SCHEDULER_TaskIdentifier die_task; |
48 | 48 | ||
49 | static void | 49 | static void |
50 | end_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 50 | end_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 |