diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-10 09:59:29 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-10 09:59:29 +0000 |
commit | 7a351c8fb4240e9ccaef55816aa47fc0a5e553ce (patch) | |
tree | b1bb657c6ee0ab24bf892428d44545dddcb67ada /src/testing | |
parent | df70bc0951a8789441170770096c537666ba0c99 (diff) | |
download | gnunet-7a351c8fb4240e9ccaef55816aa47fc0a5e553ce.tar.gz gnunet-7a351c8fb4240e9ccaef55816aa47fc0a5e553ce.zip |
- ignore GNUNET_TESTING_PREFIX in testbed helper
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index 4e60ae0f7..89d4c0f50 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -388,7 +388,7 @@ GNUNET_TESTING_system_create_with_portrange (const char *testdir, | |||
388 | 388 | ||
389 | GNUNET_assert (NULL != testdir); | 389 | GNUNET_assert (NULL != testdir); |
390 | system = GNUNET_malloc (sizeof (struct GNUNET_TESTING_System)); | 390 | system = GNUNET_malloc (sizeof (struct GNUNET_TESTING_System)); |
391 | if (NULL == (system->tmppath = getenv ("GNUNET_TESTING_PREFIX"))) | 391 | if (NULL == (system->tmppath = getenv (GNUNET_TESTING_PREFIX))) |
392 | system->tmppath = GNUNET_DISK_mkdtemp (testdir); | 392 | system->tmppath = GNUNET_DISK_mkdtemp (testdir); |
393 | else | 393 | else |
394 | system->tmppath = GNUNET_strdup (system->tmppath); | 394 | system->tmppath = GNUNET_strdup (system->tmppath); |