[Top][All Lists]

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

[GNUnet-developers] Impact of GNUNET_TEST_HOME

From: DocMalloc
Subject: [GNUnet-developers] Impact of GNUNET_TEST_HOME
Date: Fri, 16 Jan 2015 09:24:29 +0100


I have an issue running tests in statistics when a gnunet peer is
runnning since these tests were not configured to use a dedicated test
home directory. Therefore unix path was conflicting with the path used
by the running peer...

Jan 16 09:18:40-707153 test-statistics-api-17901 ERROR Assertion failed
at test_statistics_api.c:40.
$:~/gnunet/src/statistics$ Jan 16 09:18:40-712669 statistics-17915 ERROR
`mkdir' failed on file
`/tmp/gnunet-system-runtime//gnunet-service-statistics.sock' at
service.c:640 with error: Permission denied


What is the impact of configuring GNUNET_TEST_HOME?

GNUNET_TEST_HOME= /tmp/test-gnunet-statistics/

The UNIX path for the service was not automatically modified but I had
to additionally set:

UNIXPATH = $GNUNET_TEST_HOME/gnunet-service-statistics.sock 

What is best practice for tests and test specific home directories?


Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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