gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sync] branch master updated: add setup steps to tests


From: gnunet
Subject: [taler-sync] branch master updated: add setup steps to tests
Date: Fri, 11 Dec 2020 23:48:25 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository sync.

The following commit(s) were added to refs/heads/master by this push:
     new bff2a8b  add setup steps to tests
bff2a8b is described below

commit bff2a8b7a3c21ecdc5f522a89f62e85fd8ba9d78
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Dec 11 23:48:21 2020 +0100

    add setup steps to tests
---
 src/sync/sync-httpd.c       |  3 +--
 src/testing/.gitignore      |  5 +++++
 src/testing/test_sync_api.c | 13 +++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/sync/sync-httpd.c b/src/sync/sync-httpd.c
index f6d7693..87cf07a 100644
--- a/src/sync/sync-httpd.c
+++ b/src/sync/sync-httpd.c
@@ -325,8 +325,7 @@ url_handler (void *cls,
 
 
 /**
- * Shutdown task (magically invoked when the application is being
- * quit)
+ * Shutdown task. Invoked when the application is being terminated.
  *
  * @param cls NULL
  */
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",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]