diff options
Diffstat (limited to 'src/testbed-logger')
-rw-r--r-- | src/testbed-logger/gnunet-service-testbed-logger.c | 18 | ||||
-rw-r--r-- | src/testbed-logger/test_testbed_logger_api.c | 18 | ||||
-rw-r--r-- | src/testbed-logger/test_testbed_logger_api.conf | 4 | ||||
-rw-r--r-- | src/testbed-logger/testbed-logger.conf.in | 14 | ||||
-rw-r--r-- | src/testbed-logger/testbed_logger_api.c | 18 |
5 files changed, 33 insertions, 39 deletions
diff --git a/src/testbed-logger/gnunet-service-testbed-logger.c b/src/testbed-logger/gnunet-service-testbed-logger.c index f915e70af..39c339349 100644 --- a/src/testbed-logger/gnunet-service-testbed-logger.c +++ b/src/testbed-logger/gnunet-service-testbed-logger.c | |||
@@ -2,20 +2,18 @@ | |||
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2008--2013 GNUnet e.V. | 3 | Copyright (C) 2008--2013 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | it under the terms of the GNU General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
7 | by the Free Software Foundation; either version 3, or (at your | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | option) any later version. | 8 | or (at your option) any later version. |
9 | 9 | ||
10 | GNUnet is distributed in the hope that it will be useful, but | 10 | GNUnet is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with GNUnet; see the file COPYING. If not, write to the | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 17 | */ |
20 | 18 | ||
21 | /** | 19 | /** |
diff --git a/src/testbed-logger/test_testbed_logger_api.c b/src/testbed-logger/test_testbed_logger_api.c index e627feeb4..594711e43 100644 --- a/src/testbed-logger/test_testbed_logger_api.c +++ b/src/testbed-logger/test_testbed_logger_api.c | |||
@@ -2,20 +2,18 @@ | |||
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2008--2013 GNUnet e.V. | 3 | Copyright (C) 2008--2013 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | it under the terms of the GNU General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
7 | by the Free Software Foundation; either version 3, or (at your | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | option) any later version. | 8 | or (at your option) any later version. |
9 | 9 | ||
10 | GNUnet is distributed in the hope that it will be useful, but | 10 | GNUnet is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with GNUnet; see the file COPYING. If not, write to the | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 17 | */ |
20 | /** | 18 | /** |
21 | * @file testbed-logger/test_testbed_logger_api.c | 19 | * @file testbed-logger/test_testbed_logger_api.c |
diff --git a/src/testbed-logger/test_testbed_logger_api.conf b/src/testbed-logger/test_testbed_logger_api.conf index 57ce5c254..5dc3df7f0 100644 --- a/src/testbed-logger/test_testbed_logger_api.conf +++ b/src/testbed-logger/test_testbed_logger_api.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | [testbed-logger] | 1 | [testbed-logger] |
2 | UNIXPATH=/tmp/testbed-logger.sock | 2 | UNIXPATH=$GNUNET_TMP/testbed-logger.sock |
3 | DIR=$GNUNET_TEST_HOME/data | 3 | DIR=$GNUNET_TEST_HOME/data |
4 | 4 | ||
5 | [PATHS] | 5 | [PATHS] |
6 | GNUNET_TEST_HOME = /tmp/test-testbed/ \ No newline at end of file | 6 | GNUNET_TEST_HOME = $GNUNET_TMP/test-testbed/ \ No newline at end of file |
diff --git a/src/testbed-logger/testbed-logger.conf.in b/src/testbed-logger/testbed-logger.conf.in index 094328c7b..288bbed72 100644 --- a/src/testbed-logger/testbed-logger.conf.in +++ b/src/testbed-logger/testbed-logger.conf.in | |||
@@ -1,5 +1,5 @@ | |||
1 | [testbed] | 1 | [testbed] |
2 | AUTOSTART = NO | 2 | START_ON_DEMAND = NO |
3 | @JAVAPORT@ PORT = 2101 | 3 | @JAVAPORT@ PORT = 2101 |
4 | HOSTNAME = localhost | 4 | HOSTNAME = localhost |
5 | BINARY = gnunet-service-testbed | 5 | BINARY = gnunet-service-testbed |
@@ -90,18 +90,18 @@ SHARED_SERVICES = | |||
90 | 90 | ||
91 | 91 | ||
92 | [testbed-logger] | 92 | [testbed-logger] |
93 | AUTOSTART = NO | 93 | START_ON_DEMAND = NO |
94 | @UNIXONLY@ PORT = 2102 | 94 | @UNIXONLY@ PORT = 2102 |
95 | HOSTNAME = localhost | 95 | HOSTNAME = localhost |
96 | BINARY = gnunet-service-testbed-logger | 96 | BINARY = gnunet-service-testbed-logger |
97 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gnunet-testbed-logger.sock | 97 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gnunet-testbed-logger.sock |
98 | DIR = /tmp | 98 | DIR = $GNUNET_TMP |
99 | UNIX_MATCH_UID = YES | 99 | UNIX_MATCH_UID = YES |
100 | UNIX_MATCH_GID = YES | 100 | UNIX_MATCH_GID = YES |
101 | 101 | ||
102 | 102 | ||
103 | [testbed-barrier] | 103 | [testbed-barrier] |
104 | AUTOSTART = NO | 104 | START_ON_DEMAND = NO |
105 | @UNIXONLY@ PORT = 2103 | 105 | @UNIXONLY@ PORT = 2103 |
106 | HOSTNAME = localhost | 106 | HOSTNAME = localhost |
107 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock | 107 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock |
@@ -112,7 +112,7 @@ UNIX_MATCH_GID = YES | |||
112 | # This section is related to configuring underlay restrictions to simulate | 112 | # This section is related to configuring underlay restrictions to simulate |
113 | # connectivity restrictions of NAT boxes | 113 | # connectivity restrictions of NAT boxes |
114 | [testbed-underlay] | 114 | [testbed-underlay] |
115 | AUTOSTART = NO | 115 | START_ON_DEMAND = NO |
116 | NOARMBIND = YES | 116 | NOARMBIND = YES |
117 | BINARY = gnunet-daemon-testbed-underlay | 117 | BINARY = gnunet-daemon-testbed-underlay |
118 | # The sqlite3 database file containing information about what underlay | 118 | # The sqlite3 database file containing information about what underlay |
@@ -120,8 +120,8 @@ BINARY = gnunet-daemon-testbed-underlay | |||
120 | # DBFILE = | 120 | # DBFILE = |
121 | 121 | ||
122 | [latency-logger] | 122 | [latency-logger] |
123 | AUTOSTART = NO | 123 | START_ON_DEMAND = NO |
124 | NOARMBIND = YES | 124 | NOARMBIND = YES |
125 | BINARY = gnunet-daemon-latency-logger | 125 | BINARY = gnunet-daemon-latency-logger |
126 | # The sqlite3 database file where the latency values are to be stored | 126 | # The sqlite3 database file where the latency values are to be stored |
127 | # DBFILE = \ No newline at end of file | 127 | # DBFILE = |
diff --git a/src/testbed-logger/testbed_logger_api.c b/src/testbed-logger/testbed_logger_api.c index 7aa4ade35..345199c8e 100644 --- a/src/testbed-logger/testbed_logger_api.c +++ b/src/testbed-logger/testbed_logger_api.c | |||
@@ -2,20 +2,18 @@ | |||
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2008--2013, 2016 GNUnet e.V. | 3 | Copyright (C) 2008--2013, 2016 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | it under the terms of the GNU General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
7 | by the Free Software Foundation; either version 3, or (at your | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | option) any later version. | 8 | or (at your option) any later version. |
9 | 9 | ||
10 | GNUnet is distributed in the hope that it will be useful, but | 10 | GNUnet is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with GNUnet; see the file COPYING. If not, write to the | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 17 | */ |
20 | 18 | ||
21 | /** | 19 | /** |