twister

HTTP fault injector for testing
Log | Files | Refs | README | LICENSE

commit ad37b80b5adb963f3d25948b419e6cc24de1f353
parent 3e9bfdf8223171d23e2f725c749eebcb06e61bc2
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  2 Mar 2018 14:38:29 +0100

cmd exec compiles.

Diffstat:
Msrc/include/taler_twister_testing_lib.h | 1+
Msrc/twister/testing_api_cmd_exec_client.c | 5+++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/include/taler_twister_testing_lib.h b/src/include/taler_twister_testing_lib.h @@ -43,6 +43,7 @@ */ struct TALER_TESTING_Command TALER_TESTING_cmd_hack_response_code (const char *label, + const char *config_filename, unsigned int http_status); diff --git a/src/twister/testing_api_cmd_exec_client.c b/src/twister/testing_api_cmd_exec_client.c @@ -27,7 +27,7 @@ #include "platform.h" #include <taler/taler_testing_lib.h> -#include <taler/taler_twsiter_testing_lib.h> +#include "taler_twister_testing_lib.h" struct HackResponseCodeState { @@ -130,13 +130,14 @@ hack_response_code_run (void *cls, * the next connection that will be made to the twister. * * @param label command label - * @param http_status new response code to use * @param config_filename configuration filename. + * @param http_status new response code to use * * @return the command */ struct TALER_TESTING_Command TALER_TESTING_cmd_hack_response_code (const char *label, + const char *config_filename, unsigned int http_status) { struct HackResponseCodeState *hrcs;