commit 3513119c97960293b96bfb9add1f1c0fa1de6abc
parent d5a431a39c238b2b50f16848f9651f33408fa00f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 2 Mar 2018 15:16:54 +0100
need process-trait.
Diffstat:
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/twister/testing_api_cmd_exec_client.c b/src/twister/testing_api_cmd_exec_client.c
@@ -91,8 +91,17 @@ hack_response_code_traits (void *cls,
const char *trait,
unsigned int index)
{
- /* Some other command may "probe" here looking for traits. */
- return GNUNET_SYSERR;
+
+ struct HackResponseCodeState *hrcs = cls;
+ struct TALER_TESTING_Trait traits[] = {
+ TALER_TESTING_make_trait_process (0, &hrcs->proc),
+ TALER_TESTING_trait_end ()
+ };
+
+ return TALER_TESTING_get_trait (traits,
+ ret,
+ trait,
+ index);
}
static void