From f587381bc6a8bfa4194436c89e0ec8822426ccbc Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Thu, 24 Jun 2010 11:13:52 +0000 Subject: [PATCH] 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 --- src/testing/testing.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, GNUNET_CONFIGURATION_destroy (d->cfg); if (delete_files == GNUNET_YES) { - UNLINK(d->cfgfile); + if (0 != UNLINK(d->cfgfile)) + { + GNUNET_log_strerror(GNUNET_ERROR_TYPE_WARNING, "unlink"); + } } GNUNET_free (d->cfgfile); GNUNET_free_non_null (d->hostname); -- 2.25.1