aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auditor/Makefile.am6
-rwxr-xr-xsrc/auditor/test-kyc.sh22
-rwxr-xr-xsrc/auditor/test-sync.sh2
3 files changed, 17 insertions, 13 deletions
diff --git a/src/auditor/Makefile.am b/src/auditor/Makefile.am
index 1a78cb3a2..3c37d52af 100644
--- 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
index 2c4fa6594..f45b7b3a4 100755
--- 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
index 9adeca5eb..de24ae764 100755
--- 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)