summaryrefslogtreecommitdiff
path: root/test/persistence_lifeCycle_mockup.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/persistence_lifeCycle_mockup.c')
-rw-r--r--test/persistence_lifeCycle_mockup.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/persistence_lifeCycle_mockup.c b/test/persistence_lifeCycle_mockup.c
index c248de8..14a6ca3 100644
--- a/test/persistence_lifeCycle_mockup.c
+++ b/test/persistence_lifeCycle_mockup.c
@@ -181,6 +181,10 @@ DBusHandlerResult checkPersAdminMsg(DBusConnection * connection, DBusMessage * m
printf(" ==> org.genivi.NodeStateManager.Consumer - received U N KN O W N-'%s'\n", dbus_message_get_interface(message));
}
}
+ else
+ {
+ printf(" ==> org.genivi.NodeStateManager - received U N KN O W N-'%s'\n", dbus_message_get_interface(message));
+ }
return result;
}
@@ -306,7 +310,7 @@ int mainLoop(DBusObjectPathVTable vtable, DBusObjectPathVTable vtableFallback, v
gPollInfo.fds[0].events = POLLIN;
// register for messages
- if ( (TRUE==dbus_connection_register_object_path(conn, "/org/genivi/NodeStateManager/Consumer", &vtable, userData))
+ if ( (TRUE==dbus_connection_register_object_path(conn, "/org/genivi/NodeStateManager", &vtable, userData))
&& (TRUE==dbus_connection_register_fallback(conn, "/", &vtableFallback, userData)) )
{
if (TRUE!=dbus_connection_set_watch_functions(conn, addWatch, removeWatch, watchToggled, NULL, NULL))
@@ -355,7 +359,7 @@ int mainLoop(DBusObjectPathVTable vtable, DBusObjectPathVTable vtableFallback, v
switch (buf[0])
{
case CMD_REQUEST_NAME:
- if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER !=dbus_bus_request_name(conn, "org.genivi.NodeStateManager.Consumer", DBUS_NAME_FLAG_DO_NOT_QUEUE, &err))
+ if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER !=dbus_bus_request_name(conn, "org.genivi.NodeStateManager", DBUS_NAME_FLAG_DO_NOT_QUEUE, &err))
{
fprintf(stderr, "Cannot acquire name 'org.genivi.NodeStateManager.Consumer': \n \"(%s)\". Bailing out!\n", err.message);
dbus_error_free(&err);