gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r11328 - gnunet/src/testing
Date: Tue, 11 May 2010 21:00:59 +0200

Author: nevans
Date: 2010-05-11 21:00:59 +0200 (Tue, 11 May 2010)
New Revision: 11328

Modified:
   gnunet/src/testing/test_testing_connect.c
Log:
warn on daemon termination failure

Modified: gnunet/src/testing/test_testing_connect.c
===================================================================
--- gnunet/src/testing/test_testing_connect.c   2010-05-11 18:49:51 UTC (rev 
11327)
+++ gnunet/src/testing/test_testing_connect.c   2010-05-11 19:00:59 UTC (rev 
11328)
@@ -68,7 +68,16 @@
 static void
 end1_cb (void *cls, const char *emsg)
 {
-  GNUNET_assert (emsg == NULL);
+  if (emsg != NULL)
+    {
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Stopping daemon 1 gave: %s\n", 
emsg);
+      ok = 1;
+    }
+  else
+    {
+      ok = 0;
+    }
+
   GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL, GNUNET_YES, 
GNUNET_NO);
   d2 = NULL;
 }




reply via email to

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