exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit bf45df12ce70231d15e3d7643befa349013562b5
parent 4904bed32743084011e6c6baf5e6bf7eb1ffc75f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 25 Aug 2024 14:06:08 +0200

fix more tests

Diffstat:
Msrc/auditor/Makefile.am | 6+++++-
Msrc/auditor/test-kyc.sh | 22+++++++++++-----------
Msrc/auditor/test-sync.sh | 2+-
3 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/src/auditor/Makefile.am b/src/auditor/Makefile.am @@ -305,7 +305,11 @@ check_SCRIPTS = \ test-revocation.sh \ test-sync.sh -# TESTS = $(check_SCRIPTS) +TESTS = \ + test-auditor.sh \ + test-revocation.sh \ + test-sync.sh + EXTRA_DIST = \ taler-auditor.in \ diff --git a/src/auditor/test-kyc.sh b/src/auditor/test-kyc.sh @@ -356,18 +356,18 @@ function run_audit () { 2> "${MY_TMP_DIR}/taler-exchange-drain.log" \ || exit_fail "FAIL" echo " DONE" + fi + echo -n "Running taler-exchange-transfer ..." + taler-exchange-transfer \ + -L INFO \ + -t \ + -c "$CONF" \ + 2> "${MY_TMP_DIR}/drain-transfer.log" \ + || exit_fail "FAIL" + echo " DONE" - echo -n "Running taler-exchange-transfer ..." - taler-exchange-transfer \ - -L INFO \ - -t \ - -c "$CONF" \ - 2> "${MY_TMP_DIR}/drain-transfer.log" \ - || exit_fail "FAIL" - echo " DONE" - - audit_only - post_audit + audit_only + post_audit } diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh @@ -71,7 +71,7 @@ function check_with_database() -d test-sync-out.conf -t # cs_nonce_locks excluded: no point - for table in denominations denomination_revocations wire_targets reserves reserves_in reserves_close reserves_open_requests reserves_open_deposits reserves_out auditors auditor_denom_sigs exchange_sign_keys signkey_revocations known_coins refresh_commitments refresh_revealed_coins refresh_transfer_keys batch_deposits coin_deposits refunds wire_out aggregation_tracking wire_fee recoup recoup_refresh extensions policy_details policy_fulfillments purse_requests purse_decision purse_merges purse_deposits account_merges history_requests close_requests wads_out wads_out_entries wads_in wads_in_entries profit_Drains aml_staff purse_deletion age_withdraw legitimization_measures legitimization_outcomes legitimization_processes kyc_attributes aml_history kyc_events kycauths_in + for table in denominations denomination_revocations wire_targets reserves reserves_in reserves_close reserves_open_requests reserves_open_deposits reserves_out auditors auditor_denom_sigs exchange_sign_keys signkey_revocations known_coins refresh_commitments refresh_revealed_coins refresh_transfer_keys batch_deposits coin_deposits refunds wire_out aggregation_tracking wire_fee recoup recoup_refresh extensions policy_details policy_fulfillments purse_requests purse_decision purse_merges purse_deposits account_merges history_requests close_requests wads_out wad_out_entries wads_in wad_in_entries profit_Drains aml_staff purse_deletion age_withdraw legitimization_measures legitimization_outcomes legitimization_processes kyc_attributes aml_history kyc_events kycauths_in do echo -n "." CIN=$(echo "SELECT COUNT(*) FROM exchange.$table" | psql talercheck-in -Aqt)