aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-06-24 11:13:52 +0000
committerNathan S. Evans <evans@in.tum.de>2010-06-24 11:13:52 +0000
commitf587381bc6a8bfa4194436c89e0ec8822426ccbc (patch)
tree2bdc7f723d32cd2d725e2dc8c7ef6e075b02d3ad /src/testing
parent76259023a5566d42229a4a284616fa8bac93b6a5 (diff)
downloadgnunet-f587381bc6a8bfa4194436c89e0ec8822426ccbc.tar.gz
gnunet-f587381bc6a8bfa4194436c89e0ec8822426ccbc.zip
remove config file for churn, not removing directory specified in config file. May be a problem, unless the assumption is that test cases create/remove their own directories in which testing runs
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 92eefa76e..61c97975c 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -958,7 +958,10 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d,
958 GNUNET_CONFIGURATION_destroy (d->cfg); 958 GNUNET_CONFIGURATION_destroy (d->cfg);
959 if (delete_files == GNUNET_YES) 959 if (delete_files == GNUNET_YES)
960 { 960 {
961 UNLINK(d->cfgfile); 961 if (0 != UNLINK(d->cfgfile))
962 {
963 GNUNET_log_strerror(GNUNET_ERROR_TYPE_WARNING, "unlink");
964 }
962 } 965 }
963 GNUNET_free (d->cfgfile); 966 GNUNET_free (d->cfgfile);
964 GNUNET_free_non_null (d->hostname); 967 GNUNET_free_non_null (d->hostname);