gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11919 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r11919 - gnunet/src/testing
Date: Thu, 24 Jun 2010 13:13:52 +0200

Author: nevans
Date: 2010-06-24 13:13:52 +0200 (Thu, 24 Jun 2010)
New Revision: 11919

Modified:
   gnunet/src/testing/testing.c
Log:
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

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2010-06-24 11:03:11 UTC (rev 11918)
+++ gnunet/src/testing/testing.c        2010-06-24 11:13:52 UTC (rev 11919)
@@ -958,7 +958,10 @@
       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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]