aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-16 08:04:21 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-16 08:04:21 +0000
commitbb96d65cd41acd46e8f82070ecd1408e93a1e1a1 (patch)
treedaab227a026e23fb656a5d99eb660d1192984ae4 /src
parent2a7fad623328bba9226cfd3f4f00d779c495c414 (diff)
downloadgnunet-bb96d65cd41acd46e8f82070ecd1408e93a1e1a1.tar.gz
gnunet-bb96d65cd41acd46e8f82070ecd1408e93a1e1a1.zip
-fix tests
Diffstat (limited to 'src')
-rw-r--r--src/gns/test_gns_dht_delegated_lookup.c1
-rw-r--r--src/gns/test_gns_simple_delegated_lookup.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c
index f81a8d028..de393fa08 100644
--- a/src/gns/test_gns_dht_delegated_lookup.c
+++ b/src/gns/test_gns_dht_delegated_lookup.c
@@ -150,6 +150,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
150 } 150 }
151 } 151 }
152 } 152 }
153 GNUNET_GNS_disconnect(gns_handle);
153 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n"); 154 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
154 GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL, 155 GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL,
155 GNUNET_YES, GNUNET_NO); 156 GNUNET_YES, GNUNET_NO);
diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c
index 244f9db2d..6a12ecfe0 100644
--- a/src/gns/test_gns_simple_delegated_lookup.c
+++ b/src/gns/test_gns_simple_delegated_lookup.c
@@ -139,6 +139,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
139 } 139 }
140 } 140 }
141 } 141 }
142 GNUNET_GNS_disconnect(gns_handle);
142 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n"); 143 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
143 GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL, 144 GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL,
144 GNUNET_YES, GNUNET_NO); 145 GNUNET_YES, GNUNET_NO);