diff options
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 981ce142a..550885007 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -341,6 +341,7 @@ main (int argc, char *const *argv) | |||
341 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | 341 | static struct GNUNET_GETOPT_CommandLineOption options[] = { |
342 | GNUNET_GETOPT_OPTION_END | 342 | GNUNET_GETOPT_OPTION_END |
343 | }; | 343 | }; |
344 | int ret; | ||
344 | char *const argv_prog[] = { | 345 | char *const argv_prog[] = { |
345 | "test_plugin_transport", | 346 | "test_plugin_transport", |
346 | "-c", | 347 | "-c", |
@@ -361,13 +362,15 @@ main (int argc, char *const *argv) | |||
361 | #endif | 362 | #endif |
362 | NULL); | 363 | NULL); |
363 | ok = 1; /* set to fail */ | 364 | ok = 1; /* set to fail */ |
364 | return (GNUNET_OK == | 365 | ret = (GNUNET_OK == |
365 | GNUNET_PROGRAM_run (5, | 366 | GNUNET_PROGRAM_run (5, |
366 | argv_prog, | 367 | argv_prog, |
367 | "test-plugin-transport", | 368 | "test-plugin-transport", |
368 | "testcase", | 369 | "testcase", |
369 | options, | 370 | options, |
370 | &run, NULL)) ? ok : 1; | 371 | &run, NULL)) ? ok : 1; |
372 | GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-plugin-transport"); | ||
373 | return ret; | ||
371 | } | 374 | } |
372 | 375 | ||
373 | /* end of test_plugin_transport.c */ | 376 | /* end of test_plugin_transport.c */ |