gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: nicer logging


From: gnunet
Subject: [taler-exchange] branch master updated: nicer logging
Date: Tue, 24 Dec 2019 16:19:56 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 8b5a0278 nicer logging
8b5a0278 is described below

commit 8b5a0278df45a179d8e7a141a077b1872329cdf3
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Dec 24 16:19:53 2019 +0100

    nicer logging
---
 src/auditor/test-auditor.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 53d7f741..2c060b9a 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -142,6 +142,7 @@ echo "Checking output"
 # if an emergency was detected, that is a bug and we should fail
 echo -n "Test for emergencies... "
 jq -e .emergencies[0] < test-audit.json > /dev/null && exit_fail "Unexpected 
emergency detected in ordinary run" || echo PASS
+echo -n "Test for deposit confirmation emergencies... "
 jq -e .deposit_confirmation_inconsistencies[0] < test-audit.json > /dev/null 
&& exit_fail "Unexpected deposit confirmation inconsistency detected" || echo 
PASS
 echo -n "Test for emergencies by count... "
 jq -e .emergencies_by_count[0] < test-audit.json > /dev/null && exit_fail 
"Unexpected emergency by count detected in ordinary run" || echo PASS
@@ -1471,17 +1472,19 @@ echo "DONE"
 check_with_database()
 {
     BASEDB=$1
-    echo "Running test suite with database $BASEDB"
+    echo "Running test suite with database $BASEDB using configuration $CONF"
 
     # Setup database-specific globals
     MASTER_PUB=`cat ${BASEDB}.mpub`
 
     # Where to store wire fee details for aggregator
+    echo "Storing wire fees"
     WIRE_FEE_DIR=`taler-config -c $CONF -f -s exchangedb -o WIREFEE_BASE_DIR`
     mkdir -p $WIRE_FEE_DIR
     cp ${BASEDB}.fees $WIRE_FEE_DIR/x-taler-bank.fee
 
     # Determine database age
+    echo "Calculating database age"
     AGE=`stat -c %Y ${BASEDB}.fees`
     NOW=`date +%s`
     DATABASE_AGE=`expr $NOW - $AGE`

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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