aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-06 09:02:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-06 09:02:48 +0000
commite788f53d58b5a4d46f86f5508b70bbede9e010b3 (patch)
tree455939a90ed1ac63fc7ce729a537acdc788aeb2e /src/util
parent2c1e75c6dddcba773349971229f2e8fdbfd72f59 (diff)
downloadgnunet-e788f53d58b5a4d46f86f5508b70bbede9e010b3.tar.gz
gnunet-e788f53d58b5a4d46f86f5508b70bbede9e010b3.zip
change test to not require . in PATH
Diffstat (limited to 'src/util')
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c
index 045cb9751..9a42d6aea 100644
--- a/src/util/test_common_logging_runtime_loglevels.c
+++ b/src/util/test_common_logging_runtime_loglevels.c
@@ -223,11 +223,8 @@ read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
223static void 223static void
224runone () 224runone ()
225{ 225{
226 char *fn;
227 const struct GNUNET_DISK_FileHandle *stdout_read_handle; 226 const struct GNUNET_DISK_FileHandle *stdout_read_handle;
228 227
229 GNUNET_asprintf (&fn, "test_common_logging_dummy");
230
231 pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); 228 pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES);
232 229
233 if (pipe_stdout == NULL) 230 if (pipe_stdout == NULL)
@@ -275,9 +272,9 @@ runone ()
275 } 272 }
276 273
277 proc = 274 proc =
278 GNUNET_OS_start_process (NULL, pipe_stdout, fn, 275 GNUNET_OS_start_process (NULL, pipe_stdout,
276 "./test_common_logging_dummy",
279 "test_common_logging_dummy", NULL); 277 "test_common_logging_dummy", NULL);
280 GNUNET_free (fn);
281 putenv ("GNUNET_FORCE_LOG="); 278 putenv ("GNUNET_FORCE_LOG=");
282 putenv ("GNUNET_LOG="); 279 putenv ("GNUNET_LOG=");
283 280