From 664286d705905dff31298844753b12be38a079e7 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Wed, 7 Jun 2023 14:26:26 +0200 Subject: NEWS: Added __attribute__((deprecated)) to the old transport API --- src/include/gnunet_testing_ng_lib.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/include/gnunet_testing_ng_lib.h') diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h index aae918ff3..a691137cd 100644 --- a/src/include/gnunet_testing_ng_lib.h +++ b/src/include/gnunet_testing_ng_lib.h @@ -542,6 +542,22 @@ struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_stat (struct GNUNET_TESTING_Timer *timers); +/** + * Command to execute a script. The cmd succeeds when the script exit with 0 and fails, + * when the script exits with an error code. + * + * @param label The label of the cmd. + * @param script The name of the script. + * @param script_argv Array with script args. + * @param script_argv_len Length of the array. + */ +const struct GNUNET_TESTING_Command +GNUNET_TESTING_cmd_exec_bash_script (const char *label, + const char *script, + char **script_argv, + unsigned int script_argv_len); + + /* *** Generic trait logic for implementing traits ********* */ /** -- cgit v1.2.3