From e788f53d58b5a4d46f86f5508b70bbede9e010b3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 6 Oct 2011 09:02:48 +0000 Subject: change test to not require . in PATH --- src/util/test_common_logging_runtime_loglevels.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') 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) static void runone () { - char *fn; const struct GNUNET_DISK_FileHandle *stdout_read_handle; - GNUNET_asprintf (&fn, "test_common_logging_dummy"); - pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); if (pipe_stdout == NULL) @@ -275,9 +272,9 @@ runone () } proc = - GNUNET_OS_start_process (NULL, pipe_stdout, fn, + GNUNET_OS_start_process (NULL, pipe_stdout, + "./test_common_logging_dummy", "test_common_logging_dummy", NULL); - GNUNET_free (fn); putenv ("GNUNET_FORCE_LOG="); putenv ("GNUNET_LOG="); -- cgit v1.2.3