diff options
Diffstat (limited to 'src/dhtu/test_dhtu_ip.c')
-rw-r--r-- | src/dhtu/test_dhtu_ip.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/dhtu/test_dhtu_ip.c b/src/dhtu/test_dhtu_ip.c deleted file mode 100644 index 7913cfc35..000000000 --- a/src/dhtu/test_dhtu_ip.c +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2021 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software: you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Affero General Public License as published | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file dhtu/test_dhtu_ip.c | ||
23 | * @brief Test case for the DHTU implementation for IP | ||
24 | * @author Christian Grothoff | ||
25 | */ | ||
26 | #include "platform.h" | ||
27 | #include "gnunet_testing_netjail_lib.h" | ||
28 | #include "gnunet_util_lib.h" | ||
29 | |||
30 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120) | ||
31 | |||
32 | #define CONFIG_FILE "test_dhtu_ip.conf" | ||
33 | |||
34 | |||
35 | int | ||
36 | main (int argc, | ||
37 | char *const *argv) | ||
38 | { | ||
39 | struct GNUNET_TESTING_Command commands[] = { | ||
40 | GNUNET_TESTING_cmd_netjail_start ("netjail-start", | ||
41 | CONFIG_FILE), | ||
42 | GNUNET_TESTING_cmd_netjail_stop ("netjail-stop", | ||
43 | CONFIG_FILE), | ||
44 | GNUNET_TESTING_cmd_end () | ||
45 | }; | ||
46 | |||
47 | return GNUNET_TESTING_main (NULL, | ||
48 | commands, | ||
49 | TIMEOUT); | ||
50 | } | ||