From 4f013673c4db2a9d10329d18be38756c284632a5 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Mon, 20 May 2024 15:39:26 +0200 Subject: [PATCH] tests REFACTOR formatting --- tests/np_test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/np_test.c b/tests/np_test.c index 9963836a..1d1e2c86 100644 --- a/tests/np_test.c +++ b/tests/np_test.c @@ -239,8 +239,11 @@ np_glob_setup_np2(void **state, const char *test_name, const char **modules) #ifdef NETOPEER2_LIB /* start the server */ - char *argv[] = {NP_BINARY_DIR "/netopeer2-server", "-d", "-v3", "-t10", "-p", pidfile_path, - "-U", sock_path, "-m 600", "-f", server_dir, "-x", extdata_path}; + char *argv[] = { + NP_BINARY_DIR "/netopeer2-server", "-d", "-v3", "-t10", "-p", pidfile_path, + "-U", sock_path, "-m 600", "-f", server_dir, "-x", extdata_path + }; + np2_server(sizeof argv / sizeof *argv, argv); #else /* exec the server */