aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
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 /src/auditor
parentfdb768653ecfb0b5555f65f163096caf8901db26 (diff)
fix start time
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-wire-auditor.c1
-rwxr-xr-xsrc/auditor/test-auditor.sh2
2 files changed, 2 insertions, 1 deletions
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