From 0d53d893f5c7b279e69320ee60a3459e8b464d4d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Dec 2019 21:59:05 +0100 Subject: fix start time --- contrib/auditor-report.tex.j2 | 8 +++++--- src/auditor/taler-wire-auditor.c | 1 + src/auditor/test-auditor.sh | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2 index 6985bfcd7..76d9e465b 100644 --- a/contrib/auditor-report.tex.j2 +++ b/contrib/auditor-report.tex.j2 @@ -111,20 +111,22 @@ In that time, the auditor processed NO accounts at all. In that time, the auditor processed the following table ranges: \begin{center} \begin{longtable}{l|c|r|r} - Account & Table & Start & End \\ \hline \hline + Account & Table & Start & End \\ \hline \endfirsthead - Account & Table & Start & End \\ \hline \hline + Account & Table & Start & End \\ \hline \endhead \endfoot \caption{Range of account data processed by the wire auditor.} \label{table:account_range} \endlastfoot {% for item in wire.account_progress %} + \hline {{ item.account }} & Reserves Incoming & {{ item.start_reserve_in }} & {{ item.end_reserve_in }} \\ \hline + & Outgoing wire transfers & {{ item.start_wire_out }} - & {{ item.end_wire_out }} \\ \hline + & {{ item.end_wire_out }} \\ {% endfor %} \end{longtable} {% endif %} diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 544f12772..e66834a13 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -2145,6 +2145,7 @@ run (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Launching auditor\n"); + start_time = GNUNET_TIME_absolute_get (); cfg = c; if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 1883a9ec3..c5653a621 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -162,7 +162,7 @@ jq -e .wire_format_inconsistencies[0] < test-wire-audit.json > /dev/null && exit echo PASS LOSS=`jq -r .total_bad_sig_loss < test-audit.json` -if test $LOSS != "TESTKUDOS:0.0" +if test $LOSS != "TESTKUDOS:0" then exit_fail "Wrong total bad sig loss, got unexpected loss of $LOSS" fi -- cgit v1.2.3