diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/.gitignore | 5 | ||||
-rw-r--r-- | src/testing/test_sync_api.c | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/testing/.gitignore b/src/testing/.gitignore index b3ffea1..c306e26 100644 --- a/src/testing/.gitignore +++ b/src/testing/.gitignore @@ -1,3 +1,8 @@ test_sync_api auditor.in test_sync_api_home/.local/share/taler/exchange/live-keys/ +test_sync_api_home/.local/share/taler/crypto-eddsa/ +test_sync_api_home/.local/share/taler/crypto-rsa/ +test_sync_api_home/.local/share/taler/exchange/offline-keys/secm_tofus.priv +test_sync_api_home/.local/share/taler/taler-helper-crypto-eddsa/ +test_sync_api_home/.local/share/taler/taler-helper-crypto-rsa/ diff --git a/src/testing/test_sync_api.c b/src/testing/test_sync_api.c index 8c38a44..0bfc940 100644 --- a/src/testing/test_sync_api.c +++ b/src/testing/test_sync_api.c @@ -152,6 +152,19 @@ run (void *cls, struct TALER_TESTING_Interpreter *is) { struct TALER_TESTING_Command commands[] = { + /* general setup */ + TALER_TESTING_cmd_auditor_add ("add-auditor-OK", + MHD_HTTP_NO_CONTENT, + false), + TALER_TESTING_cmd_wire_add ("add-wire-account", + "payto://x-taler-bank/localhost/2", + MHD_HTTP_NO_CONTENT, + false), + TALER_TESTING_cmd_exec_offline_sign_keys ("offline-sign-future-keys", + CONFIG_FILE), + TALER_TESTING_cmd_check_keys_pull_all_keys ("refetch /keys", + 1, + 20 /* FIXME: wrong number... */), TALER_TESTING_cmd_merchant_post_instances ("instance-create-default", merchant_url, "default", |