summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-07 21:59:05 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-07 21:59:05 +0100
commit0d53d893f5c7b279e69320ee60a3459e8b464d4d (patch)
treeb74116684efc60bd48d6db793ec2fd57ce109b84
parentfdb768653ecfb0b5555f65f163096caf8901db26 (diff)
downloadexchange-0d53d893f5c7b279e69320ee60a3459e8b464d4d.tar.gz
exchange-0d53d893f5c7b279e69320ee60a3459e8b464d4d.tar.bz2
exchange-0d53d893f5c7b279e69320ee60a3459e8b464d4d.zip
fix start time
-rw-r--r--contrib/auditor-report.tex.j28
-rw-r--r--src/auditor/taler-wire-auditor.c1
-rwxr-xr-xsrc/auditor/test-auditor.sh2
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