[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17802 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17802 - gnunet/src/util |
Date: |
Wed, 26 Oct 2011 21:27:43 +0200 |
Author: grothoff
Date: 2011-10-26 21:27:43 +0200 (Wed, 26 Oct 2011)
New Revision: 17802
Modified:
gnunet/src/util/test_common_logging.c
Log:
setenv to fix testcase under other circumstances
Modified: gnunet/src/util/test_common_logging.c
===================================================================
--- gnunet/src/util/test_common_logging.c 2011-10-26 18:06:30 UTC (rev
17801)
+++ gnunet/src/util/test_common_logging.c 2011-10-26 19:27:43 UTC (rev
17802)
@@ -43,6 +43,10 @@
unsigned int failureCount = 0;
unsigned int logs = 0;
+ if (0 != setenv ("GNUNET_FORCE_LOG", "", 1))
+ fprintf (stderr,
+ "Failed to setenv: %s\n",
+ strerror (errno));
GNUNET_log_setup ("test-common-logging", "DEBUG", "/dev/null");
GNUNET_logger_add (&my_log, &logs);
GNUNET_logger_add (&my_log, &logs);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17802 - gnunet/src/util,
gnunet <=