fix keyup invocation.

This commit is contained in:
Marcello Stanisci 2019-04-03 18:02:58 +02:00
parent 6e6ce685ea
commit dc7d74caea
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

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