aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_common_logging_runtime_loglevels.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-26 17:20:17 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-26 17:20:17 +0000
commit4365da8f681ae3e45f311bad63c9f29415dab2ca (patch)
treef4c361eef2942baec305f82f0ea897704091df7c /src/util/test_common_logging_runtime_loglevels.c
parentbd1a45e81484ad526471a1ec69e6e68fe69fc0da (diff)
downloadgnunet-4365da8f681ae3e45f311bad63c9f29415dab2ca.tar.gz
gnunet-4365da8f681ae3e45f311bad63c9f29415dab2ca.zip
-tolerate somewhat larger delays -- for slow systems
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c
index b69b4ce36..28535739d 100644
--- a/src/util/test_common_logging_runtime_loglevels.c
+++ b/src/util/test_common_logging_runtime_loglevels.c
@@ -157,7 +157,7 @@ read_output_line (int phase_from1, int phase_to1, int phase_from2,
157 break; 157 break;
158 } 158 }
159 } 159 }
160 if (!stop || strcmp (expect_level, level) != 0 || *delay < 0 || *delay > 1000 160 if (!stop || strcmp (expect_level, level) != 0 || *delay < 0 || *delay > 1000000
161 || (!((*delay < delay_lessthan) || (*delay > delay_morethan)) && c != '1' 161 || (!((*delay < delay_lessthan) || (*delay > delay_morethan)) && c != '1'
162 && c != '2')) 162 && c != '2'))
163 return NULL; 163 return NULL;