-convert assert to break for now
authorChristian Grothoff <christian@grothoff.org>
Thu, 26 Apr 2012 08:14:54 +0000 (08:14 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 26 Apr 2012 08:14:54 +0000 (08:14 +0000)
src/testing/testing.c

index 7a2a2b87a1f358f2875f808644fe4ce4f1dbaade..298d78bcebb7a800c81cf5787bac19675ca045e7 100644 (file)
@@ -1542,7 +1542,10 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d,
     GNUNET_free_non_null (d->username);
     if (NULL != d->dead_cb)
       d->dead_cb (d->dead_cb_cls, NULL);
-    GNUNET_assert (NULL == d->proc_arm_stop);
+    /* FIXME: this should be an assert and the test below
+       should not be required, but testing is broken... */
+    GNUNET_break (NULL == d->proc_arm_stop);
+    if (NULL == d->proc_arm_stop) 
     GNUNET_free (d);
     return;
   }