aboutsummaryrefslogtreecommitdiff
path: root/src/service/testing/testing_api_cmd_exec_bash_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/testing/testing_api_cmd_exec_bash_script.c')
-rw-r--r--src/service/testing/testing_api_cmd_exec_bash_script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/service/testing/testing_api_cmd_exec_bash_script.c b/src/service/testing/testing_api_cmd_exec_bash_script.c
index 7e7aafb69..171a2baac 100644
--- a/src/service/testing/testing_api_cmd_exec_bash_script.c
+++ b/src/service/testing/testing_api_cmd_exec_bash_script.c
@@ -59,7 +59,7 @@ struct BashScriptState
59 /** 59 /**
60 * Arguments for the script 60 * Arguments for the script
61 */ 61 */
62 char **script_argv; 62 char *const*script_argv;
63 63
64 /** 64 /**
65 * Size of script_argv. 65 * Size of script_argv.
@@ -196,8 +196,8 @@ const struct GNUNET_TESTING_Command
196GNUNET_TESTING_cmd_exec_bash_script (const char *label, 196GNUNET_TESTING_cmd_exec_bash_script (const char *label,
197 const char *script, 197 const char *script,
198 char *const script_argv[], 198 char *const script_argv[],
199 int argc, 199 int argc,
200 GNUNET_ChildCompletedCallback cb) 200 GNUNET_ChildCompletedCallback cb)
201{ 201{
202 struct BashScriptState *bss; 202 struct BashScriptState *bss;
203 203
@@ -208,7 +208,7 @@ GNUNET_TESTING_cmd_exec_bash_script (const char *label,
208 bss->cb = cb; 208 bss->cb = cb;
209 209
210 return GNUNET_TESTING_command_new (bss, 210 return GNUNET_TESTING_command_new (bss,
211 label, 211 label,
212 &exec_bash_script_run, 212 &exec_bash_script_run,
213 &exec_bash_script_cleanup, 213 &exec_bash_script_cleanup,
214 NULL, 214 NULL,