aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-09-15 11:12:59 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-09-15 11:12:59 +0000
commitc8910059aebeb20e7359b2d780be751323a80e74 (patch)
treea570d9ab7a8cb80e7f92bb11bfc4d3e70ebcc498 /src
parentf4666e673e8370225069aa8214e23a7935c00dd2 (diff)
downloadgnunet-c8910059aebeb20e7359b2d780be751323a80e74.tar.gz
gnunet-c8910059aebeb20e7359b2d780be751323a80e74.zip
Diffstat (limited to 'src')
-rw-r--r--src/util/Makefile.am2
-rw-r--r--src/util/test_os_start_process.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 38d60167b..6d88537e5 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -14,8 +14,6 @@ libgnunetutilwin_la_LIBADD = \
14 -lshell32 -liconv -lstdc++ \ 14 -lshell32 -liconv -lstdc++ \
15 -lcomdlg32 -lgdi32 15 -lcomdlg32 -lgdi32
16WINLIB = libgnunetutilwin.la 16WINLIB = libgnunetutilwin.la
17noinst_PROGRAMS = test_os_start_process_cat
18 test_os_start_process_cat_SOURCES = test_os_start_process_cat.c
19endif 17endif
20 18
21if USE_COVERAGE 19if USE_COVERAGE
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c
index 97c5e99c0..0b8860c7d 100644
--- a/src/util/test_os_start_process.c
+++ b/src/util/test_os_start_process.c
@@ -105,11 +105,8 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
105 char *fn; 105 char *fn;
106 const struct GNUNET_DISK_FileHandle *stdout_read_handle; 106 const struct GNUNET_DISK_FileHandle *stdout_read_handle;
107 const struct GNUNET_DISK_FileHandle *wh; 107 const struct GNUNET_DISK_FileHandle *wh;
108#ifndef WINDOWS 108
109 GNUNET_asprintf(&fn, "cat"); 109 GNUNET_asprintf(&fn, "cat");
110#else
111 GNUNET_asprintf(&fn, "./.libs/test_os_start_process_cat.exe");
112#endif
113 110
114 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); 111 hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO);
115 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); 112 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES);