projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb6012
)
warn on daemon termination failure
author
Nathan S. Evans
<evans@in.tum.de>
Tue, 11 May 2010 19:00:59 +0000
(19:00 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Tue, 11 May 2010 19:00:59 +0000
(19:00 +0000)
src/testing/test_testing_connect.c
patch
|
blob
|
history
diff --git
a/src/testing/test_testing_connect.c
b/src/testing/test_testing_connect.c
index 735d0a7c1e1cd53e9988b3d9892f0fbc7e14e901..6c3ff1ae9876015b4e3e0e6c88dfcdbb89a0a4b6 100644
(file)
--- a/
src/testing/test_testing_connect.c
+++ b/
src/testing/test_testing_connect.c
@@
-68,7
+68,16
@@
end2_cb (void *cls, const char *emsg)
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;
}