exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit dc7d74caeabaaf5fdd3120c09b57585970f1520d
parent 6e6ce685ea0240abd1fcef9ac8f44d0252aef823
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed,  3 Apr 2019 18:02:58 +0200

fix keyup invocation.

Diffstat:
Msrc/lib/testing_api_cmd_exec_keyup.c | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/lib/testing_api_cmd_exec_keyup.c b/src/lib/testing_api_cmd_exec_keyup.c @@ -49,7 +49,7 @@ struct KeyupState /** * If GNUNET_YES, then the fake @e now value will be - * passed to taler-exchange-keyup via the --timestamp + * passed to taler-exchange-keyup via the --time * option. */ unsigned int with_now; @@ -85,7 +85,7 @@ keyup_run (void *cls, "taler-exchange-keyup", "-c", ks->config_filename, "-o", "auditor.in", - "--timestamp", + "--time", GNUNET_STRINGS_absolute_time_to_string (ks->now), NULL); } @@ -106,6 +106,9 @@ keyup_run (void *cls, TALER_TESTING_interpreter_fail (is); return; } + + /* This function does not tell whether the command + * succeeded or not! */ TALER_TESTING_wait_for_sigchld (is); }