gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30035 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r30035 - gnunet/src/testing
Date: Wed, 9 Oct 2013 11:53:09 +0200

Author: harsha
Date: 2013-10-09 11:53:08 +0200 (Wed, 09 Oct 2013)
New Revision: 30035

Modified:
   gnunet/src/testing/testing.c
Log:
- fix and doc


Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2013-10-09 09:51:46 UTC (rev 30034)
+++ gnunet/src/testing/testing.c        2013-10-09 09:53:08 UTC (rev 30035)
@@ -387,7 +387,7 @@
 
   GNUNET_assert (NULL != testdir);
   system = GNUNET_malloc (sizeof (struct GNUNET_TESTING_System));
-  if (NULL != (system->tmppath = getenv ("GNUNET_TESTING_PREFIX")))
+  if (NULL == (system->tmppath = getenv ("GNUNET_TESTING_PREFIX")))
     system->tmppath = GNUNET_DISK_mkdtemp (testdir);
   else
     system->tmppath = GNUNET_strdup (system->tmppath);
@@ -434,7 +434,8 @@
  *
  * @param testdir only the directory name without any path. This is used for 
all
  *          service homes; the directory will be created in a temporary 
location
- *          depending on the underlying OS
+ *          depending on the underlying OS.  This variable will be
+ *          overridden with the value of the environmental variable
  * @param trusted_ip the ip address which will be set as TRUSTED HOST in all
  *          service configurations generated to allow control connections from
  *          this ip. This can either be a single ip address or a network 
address




reply via email to

[Prev in Thread] Current Thread [Next in Thread]