error msg
[oweals/gnunet.git] / src / transport / test_transport_api_unreliability.c
index 73158e59c24e11dcb0e36454f5c1e83f7472a065..3658198bdb413a5c5aaaf9e183b7b1bab3eda1ee 100644 (file)
@@ -191,6 +191,16 @@ end_badly ()
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Test had timeout while waiting to send data\n");
 
+  int i;
+
+  for (i = 0; i < TOTAL_MSGS; i++)
+  {
+    if (get_bit (bitmap, i) == 0)
+    {
+      GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Did not receive message %d\n", i);
+      ok = -1;
+    }
+  }
 
   if (th != NULL)
     GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);