summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-03 18:02:58 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-03 18:02:58 +0200
commitdc7d74caeabaaf5fdd3120c09b57585970f1520d (patch)
treed3024a3c9fe7d272cc1c8941729201653f07a17b /src
parent6e6ce685ea0240abd1fcef9ac8f44d0252aef823 (diff)
downloadexchange-dc7d74caeabaaf5fdd3120c09b57585970f1520d.tar.gz
exchange-dc7d74caeabaaf5fdd3120c09b57585970f1520d.tar.bz2
exchange-dc7d74caeabaaf5fdd3120c09b57585970f1520d.zip
fix keyup invocation.
Diffstat (limited to 'src')
-rw-r--r--src/lib/testing_api_cmd_exec_keyup.c7
1 files 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
index d534db06e..e457a28e6 100644
--- 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);
}