diff options
Diffstat (limited to 'tests/gtest_dlt_daemon_offline_log.cpp')
-rw-r--r-- | tests/gtest_dlt_daemon_offline_log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gtest_dlt_daemon_offline_log.cpp b/tests/gtest_dlt_daemon_offline_log.cpp index 0bd4d5e..be6404c 100644 --- a/tests/gtest_dlt_daemon_offline_log.cpp +++ b/tests/gtest_dlt_daemon_offline_log.cpp @@ -1649,7 +1649,7 @@ TEST(t_dlt_logstorage_sync_msg_cache, null) int connectServer(void) { -#ifdef DLT_USE_UNIX_SOCKET_IPC +#ifdef DLT_DAEMON_USE_UNIX_SOCKET_IPC int sockfd, portno; struct sockaddr_in serv_addr; struct hostent *server; @@ -1668,7 +1668,7 @@ int connectServer(void) close(sockfd); return -1; } -#else +#else /* DLT_DAEMON_USE_FIFO_IPC */ char filename[1024]; int sockfd; snprintf(filename, 1024, "/tmp/dltpipes/dlt%d", getpid()); @@ -1687,7 +1687,7 @@ int connectServer(void) int main(int argc, char **argv) { -#ifdef DLT_USE_UNIX_SOCKET_IPC +#ifdef DLT_DAEMON_USE_UNIX_SOCKET_IPC pid_t cpid; cpid = fork(); @@ -1758,7 +1758,7 @@ int main(int argc, char **argv) ::testing::FLAGS_gtest_break_on_failure = false; /* ::testing::FLAGS_gtest_filter = "t_dlt_event_handler_register_connection*"; */ return RUN_ALL_TESTS(); -#ifdef DLT_USE_UNIX_SOCKET_IPC +#ifdef DLT_DAEMON_USE_UNIX_SOCKET_IPC } #endif |