diff --git a/obexd/src/main.c b/obexd/src/main.c
index 7f62331..8fc5618 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
#include "logging.h"
#include "bluetooth.h"
+#include "phonebook.h"
#include "obexd.h"
#include "obex.h"
static GMainLoop *main_loop = NULL;
+static void test_phonebook(void)
+{
+ struct phonebook_context *context;
+ struct phonebook_driver *driver;
+
+ driver = phonebook_get_driver(NULL);
+ if (driver == NULL)
+ return;
+
+ context = g_try_new0(struct phonebook_context, 1);
+ if (context == NULL)
+ return;
+
+ driver->create(context);
+
+ driver->destroy(context);
+
+ g_free(context);
+}
+
static void tty_init(int service, const gchar *root_path, const gchar *capability,
const gchar *devnode)
{
plugin_init();
+ test_phonebook();
+
if (option_root == NULL)
option_root = g_strdup(DEFAULT_ROOT_PATH);