add units to time, use configuration time api where appropriate, fixing Mantis #1875
[oweals/gnunet.git] / src / util / test_common_logging_runtime_loglevels.c
index 5b89b722129fc1b834efc526e3947b3b4e607014..79b888c560424d114c4bf5f9bb0c7639c66cf0ae 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2008 Christian Grothoff (and other contributing authors)
+     (C) 2011 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -279,6 +279,7 @@ runone ()
 
   putenv ("GNUNET_LOG=");
   putenv ("GNUNET_FORCE_LOG=");
+  putenv ("GNUNET_FORCE_LOGFILE=");
   switch (phase)
   {
   case 0:
@@ -314,7 +315,12 @@ runone ()
   }
 
   proc =
-      GNUNET_OS_start_process (NULL, pipe_stdout, "./test_common_logging_dummy",
+      GNUNET_OS_start_process (NULL, pipe_stdout, 
+#if MINGW
+                              "test_common_logging_dummy",
+#else
+                              "./test_common_logging_dummy",
+#endif
                                "test_common_logging_dummy", NULL);
   putenv ("GNUNET_FORCE_LOG=");
   putenv ("GNUNET_LOG=");