diff --git a/tests/func_01_connection_establishment.c b/tests/func_01_connection_establishment.c index 8875987..5f57b92 100644 --- a/tests/func_01_connection_establishment.c +++ b/tests/func_01_connection_establishment.c @@ -15,7 +15,7 @@ int main(int argc, char * argv[]) SECURE_DECLARATION(struct ipc_ctx, ctx); SECURE_DECLARATION(struct ipc_event, event); - ret = ipc_connection (&ctx, SERVICE_NAME); + ret = ipc_connection (&ctx, SERVICE_NAME, NULL); if (ret.error_code != IPC_ERROR_NONE) { printf ("error: %s\n", ipc_errors_get(ret.error_code)); return EXIT_FAILURE; diff --git a/tests/func_02_pong.c b/tests/func_02_pong.c index 98c80af..f6f99b8 100644 --- a/tests/func_02_pong.c +++ b/tests/func_02_pong.c @@ -19,7 +19,7 @@ void non_interactive () SECURE_DECLARATION(struct ipc_ctx, ctx); // init service - TEST_IPC_Q(ipc_connection (&ctx, SERVICE_NAME), EXIT_FAILURE); + TEST_IPC_Q(ipc_connection (&ctx, SERVICE_NAME, NULL), EXIT_FAILURE); int server_fd = ctx.pollfd[0].fd; diff --git a/tests/func_03_multiple-communications-client.c b/tests/func_03_multiple-communications-client.c index c659acf..422d9f9 100644 --- a/tests/func_03_multiple-communications-client.c +++ b/tests/func_03_multiple-communications-client.c @@ -69,8 +69,8 @@ int main(void) SECURE_DECLARATION(struct ipc_ctx, ctx2); SECURE_DECLARATION(struct ipc_event, event); - TEST_IPC_Q (ipc_connection (&ctx1, SERVICE_NAME), EXIT_FAILURE); - TEST_IPC_Q (ipc_connection (&ctx2, SERVICE_NAME), EXIT_FAILURE); + TEST_IPC_Q (ipc_connection (&ctx1, SERVICE_NAME, NULL), EXIT_FAILURE); + TEST_IPC_Q (ipc_connection (&ctx2, SERVICE_NAME, NULL), EXIT_FAILURE); send_message (&ctx1); read_message (&ctx1); diff --git a/tests/func_04_empty_message.c b/tests/func_04_empty_message.c index d096ed8..b4a972a 100644 --- a/tests/func_04_empty_message.c +++ b/tests/func_04_empty_message.c @@ -47,7 +47,7 @@ int main(void) { SECURE_DECLARATION(struct ipc_ctx, ctx); - TEST_IPC_Q(ipc_connection (&ctx, SERVICE_NAME), EXIT_FAILURE); + TEST_IPC_Q(ipc_connection (&ctx, SERVICE_NAME, NULL), EXIT_FAILURE); send_message (&ctx); read_message (&ctx); diff --git a/tests/func_05_read-write-loop.c b/tests/func_05_read-write-loop.c index 787c933..4af1a77 100644 --- a/tests/func_05_read-write-loop.c +++ b/tests/func_05_read-write-loop.c @@ -47,7 +47,7 @@ int main(int argc, char * argv[]) memcpy(message_str, DEFAULT_MSG, strlen(DEFAULT_MSG)); } - TEST_IPC_Q (ipc_connection (&ctx, SERVICE_NAME), EXIT_FAILURE); + TEST_IPC_Q (ipc_connection (&ctx, SERVICE_NAME, NULL), EXIT_FAILURE); SECURE_MALLOC (write_m.payload, strlen(message_str), exit(EXIT_FAILURE)); memcpy (write_m.payload, message_str, strlen(message_str));