diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:50 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:50 +0200 |
commit | 15d0a119987bc62675a17dea2c24b652a42c53e3 (patch) | |
tree | d6598fb09c24a8004da21bee1a19f3f1ea37c66c /src/datastore/perf_datastore_api.c | |
parent | c47dd4e3165b7894669d8f7f800bac75ac8ad95c (diff) | |
parent | 740b30688bd745a527f96f9116c19acb3480971a (diff) |
Merge tag 'upstream/0.9.3'
Upstream version 0.9.3
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r-- | src/datastore/perf_datastore_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c index aae152d..cdbd6ae 100644 --- a/src/datastore/perf_datastore_api.c +++ b/src/datastore/perf_datastore_api.c @@ -285,8 +285,9 @@ run_tests (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, c if (success != GNUNET_YES) { FPRINTF (stderr, - "Test 'put' operation failed with error `%s' database likely not setup, skipping test.", + "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n", msg); + GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES); GNUNET_free (crc); return; } @@ -359,7 +360,7 @@ check () ok = 1; } GNUNET_OS_process_wait (proc); - GNUNET_OS_process_close (proc); + GNUNET_OS_process_destroy (proc); proc = NULL; return ok; } |