[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29633 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29633 - gnunet/src/util |
Date: |
Thu, 26 Sep 2013 19:17:13 +0200 |
Author: grothoff
Date: 2013-09-26 19:17:13 +0200 (Thu, 26 Sep 2013)
New Revision: 29633
Modified:
gnunet/src/util/test_common_logging_dummy.c
gnunet/src/util/test_common_logging_runtime_loglevels.c
Log:
-testing LRNs fix from IRC to correct expression logic and move to 200
microsecond delays
Modified: gnunet/src/util/test_common_logging_dummy.c
===================================================================
--- gnunet/src/util/test_common_logging_dummy.c 2013-09-26 17:02:55 UTC (rev
29632)
+++ gnunet/src/util/test_common_logging_dummy.c 2013-09-26 17:17:13 UTC (rev
29633)
@@ -35,7 +35,7 @@
/**
* Delay introduced between operations, useful for debugging.
*/
-#define OUTPUT_DELAY GNUNET_TIME_relative_multiply
(GNUNET_TIME_UNIT_MILLISECONDS, 0)
+#define OUTPUT_DELAY GNUNET_TIME_relative_multiply
(GNUNET_TIME_UNIT_MICROSECONDS, 200)
static void
my_log (void *ctx, enum GNUNET_ErrorType kind, const char *component,
Modified: gnunet/src/util/test_common_logging_runtime_loglevels.c
===================================================================
--- gnunet/src/util/test_common_logging_runtime_loglevels.c 2013-09-26
17:02:55 UTC (rev 29632)
+++ gnunet/src/util/test_common_logging_runtime_loglevels.c 2013-09-26
17:17:13 UTC (rev 29633)
@@ -158,7 +158,7 @@
}
}
if (!stop || strcmp (expect_level, level) != 0 || *delay < 0 || *delay > 1000
- || (!((*delay < delay_lessthan) || !(*delay > delay_morethan)) && c !=
'1'
+ || (!((*delay < delay_lessthan) || (*delay > delay_morethan)) && c != '1'
&& c != '2'))
return NULL;
*len = *len - i;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29633 - gnunet/src/util,
gnunet <=