diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-19 02:46:17 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-19 02:46:17 +0100 |
commit | 52bdff78675dfce080f33414613b3cb441167def (patch) | |
tree | 32379068a4733566dcef739c59cbc1c829a0757c /src/auditor/test-auditor.sh | |
parent | 58e5780917fad2f085734804fd96f89c04fcaaca (diff) |
get auditor to pass with refund
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-x | src/auditor/test-auditor.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 43ab902d9..832bfb836 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -351,13 +351,13 @@ echo "UPDATE reserves_in SET credit_val=15 WHERE reserve_in_serial_id=1" | psql run_audit EXPECTED=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].auditor < test-audit.json` -if test $EXPECTED != "TESTKUDOS:5" +if test $EXPECTED != "TESTKUDOS:5.01" then exit_fail "Expected reserve balance summary amount wrong, got $EXPECTED (auditor)" fi EXPECTED=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].exchange < test-audit.json` -if test $EXPECTED != "TESTKUDOS:0" +if test $EXPECTED != "TESTKUDOS:0.01" then exit_fail "Expected reserve balance summary amount wrong, got $EXPECTED (exchange)" fi @@ -513,7 +513,7 @@ then fi LOSS=`jq -r .bad_sig_losses[0].loss < test-audit.json` -if test $LOSS != "TESTKUDOS:1" +if test $LOSS != "TESTKUDOS:0.1" then exit_fail "Wrong deposit bad signature loss, got $LOSS" fi @@ -525,7 +525,7 @@ then fi LOSS=`jq -r .total_bad_sig_loss < test-audit.json` -if test $LOSS != "TESTKUDOS:1" +if test $LOSS != "TESTKUDOS:0.1" then exit_fail "Wrong total bad sig loss, got $LOSS" fi |