aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 12:04:15 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 12:04:15 +0000
commit966ceb6893b6ad0a504d7435ec97fc4beba65bb2 (patch)
tree27e4c9440ff0db256c21a8d71158ea4d1ae13f22 /src/transport/test_plugin_transport.c
parent9dac7b6b7b035d55bdb9731795712ead92e11f76 (diff)
downloadgnunet-966ceb6893b6ad0a504d7435ec97fc4beba65bb2.tar.gz
gnunet-966ceb6893b6ad0a504d7435ec97fc4beba65bb2.zip
better clean up
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c5
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 */