diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-22 22:04:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-22 22:04:00 +0000 |
commit | 8b671562b16c6281775a166160db3b1055509773 (patch) | |
tree | d8d0201aa79bc0b5070e08ed4c55989d9c7f6f2d | |
parent | 5e75381dc5cb97f5baebc4d39a78a8854de0844b (diff) | |
download | gnunet-8b671562b16c6281775a166160db3b1055509773.tar.gz gnunet-8b671562b16c6281775a166160db3b1055509773.zip |
fix
-rw-r--r-- | src/transport/test_plugin_transport_http.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index 1fa4aed47..6b6463f1a 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c | |||
@@ -18,8 +18,8 @@ | |||
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file transport/test_gnunet_transport_plugin.http.c | 21 | * @file transport/test_plugin_transport_http.c |
22 | * @brief testcase for gnunet_transport_plugin.http.c | 22 | * @brief testcase for plugin_transport_http.c |
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | */ | 24 | */ |
25 | 25 | ||
@@ -459,10 +459,10 @@ shutdown_clean () | |||
459 | 459 | ||
460 | GNUNET_free(test_addr); | 460 | GNUNET_free(test_addr); |
461 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Unloading http plugin\n"); | 461 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Unloading http plugin\n"); |
462 | GNUNET_assert (NULL == GNUNET_PLUGIN_unload ("libgnunet_gnunet_transport_plugin.http", api)); | 462 | GNUNET_assert (NULL == GNUNET_PLUGIN_unload ("libgnunet_gnunet_transport_plugin_http", api)); |
463 | 463 | ||
464 | GNUNET_SCHEDULER_shutdown(); | 464 | GNUNET_SCHEDULER_shutdown(); |
465 | GNUNET_DISK_directory_remove ("/tmp/test_gnunet_transport_plugin.http"); | 465 | GNUNET_DISK_directory_remove ("/tmp/test_gnunet_transport_plugin_http"); |
466 | 466 | ||
467 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Exiting testcase\n"); | 467 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Exiting testcase\n"); |
468 | exit(fail); | 468 | exit(fail); |
@@ -1311,7 +1311,7 @@ main (int argc, char *const *argv) | |||
1311 | }; | 1311 | }; |
1312 | int ret; | 1312 | int ret; |
1313 | char *const argv_prog[] = { | 1313 | char *const argv_prog[] = { |
1314 | "test_gnunet_transport_plugin.http", | 1314 | "test_gnunet_transport_plugin_http", |
1315 | "-c", | 1315 | "-c", |
1316 | "test_plugin_transport_data_http.conf", | 1316 | "test_plugin_transport_data_http.conf", |
1317 | "-L", | 1317 | "-L", |
@@ -1322,7 +1322,7 @@ main (int argc, char *const *argv) | |||
1322 | #endif | 1322 | #endif |
1323 | NULL | 1323 | NULL |
1324 | }; | 1324 | }; |
1325 | GNUNET_log_setup ("test_gnunet_transport_plugin.http", | 1325 | GNUNET_log_setup ("test_gnunet_transport_plugin_http", |
1326 | #if VERBOSE | 1326 | #if VERBOSE |
1327 | "DEBUG", | 1327 | "DEBUG", |
1328 | #else | 1328 | #else |
@@ -1333,12 +1333,12 @@ main (int argc, char *const *argv) | |||
1333 | ret = (GNUNET_OK == | 1333 | ret = (GNUNET_OK == |
1334 | GNUNET_PROGRAM_run (5, | 1334 | GNUNET_PROGRAM_run (5, |
1335 | argv_prog, | 1335 | argv_prog, |
1336 | "test_gnunet_transport_plugin.http", | 1336 | "test_gnunet_transport_plugin_http", |
1337 | "testcase", options, &run, NULL)) ? GNUNET_NO : GNUNET_YES; | 1337 | "testcase", options, &run, NULL)) ? GNUNET_NO : GNUNET_YES; |
1338 | 1338 | ||
1339 | GNUNET_DISK_directory_remove ("/tmp/test_gnunet_transport_plugin.http"); | 1339 | GNUNET_DISK_directory_remove ("/tmp/test_gnunet_transport_plugin_http"); |
1340 | 1340 | ||
1341 | return fail; | 1341 | return fail; |
1342 | } | 1342 | } |
1343 | 1343 | ||
1344 | /* end of test_gnunet_transport_plugin.http.c */ | 1344 | /* end of test_gnunet_transport_plugin_http.c */ |