diff options
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r-- | src/include/gnunet_testing_ng_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 | |||
542 | GNUNET_TESTING_cmd_stat (struct GNUNET_TESTING_Timer *timers); | 542 | GNUNET_TESTING_cmd_stat (struct GNUNET_TESTING_Timer *timers); |
543 | 543 | ||
544 | 544 | ||
545 | /** | ||
546 | * Command to execute a script. The cmd succeeds when the script exit with 0 and fails, | ||
547 | * when the script exits with an error code. | ||
548 | * | ||
549 | * @param label The label of the cmd. | ||
550 | * @param script The name of the script. | ||
551 | * @param script_argv Array with script args. | ||
552 | * @param script_argv_len Length of the array. | ||
553 | */ | ||
554 | const struct GNUNET_TESTING_Command | ||
555 | GNUNET_TESTING_cmd_exec_bash_script (const char *label, | ||
556 | const char *script, | ||
557 | char **script_argv, | ||
558 | unsigned int script_argv_len); | ||
559 | |||
560 | |||
545 | /* *** Generic trait logic for implementing traits ********* */ | 561 | /* *** Generic trait logic for implementing traits ********* */ |
546 | 562 | ||
547 | /** | 563 | /** |