diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-03 16:07:04 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-03 16:07:04 +0200 |
commit | 35c064b93739795832598893b1885ff7cfd9faf8 (patch) | |
tree | 36dc79df5790f97ec56604f395e01e8ea5c73311 /src/include/taler_testing_lib.h | |
parent | 219f702926c61adedea9458e07a6936e76cfe13e (diff) |
Faking the time.
Cherry-pick tests now uses the now-faked version
of taler-exchange-keyup. Fails.
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 711a13235..7c2f6f29a 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -920,6 +920,22 @@ TALER_TESTING_cmd_exec_keyup (const char *label, const char *config_filename); /** + * Make the "keyup" CMD, with "--timestamp" option. + * + * @param label command label. + * @param config_filename configuration filename. + * @param now Unix timestamp representing the fake "now". + * + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_exec_keyup_with_now + (const char *label, + const char *config_filename, + struct GNUNET_TIME_Absolute now); + + +/** * Make a "auditor sign" CMD. * * @param label command label |