diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-07 14:27:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-07 14:27:55 +0100 |
commit | b164e090dc85bf60103dcd254242979096590def (patch) | |
tree | d7922f4c8f8f83a4d8d94423aa7e9b31922c0f7f /src/auditor/test-auditor.sh | |
parent | e153215f7e0f0103a2000ca978e6c4fd2719feb2 (diff) |
check total loss initially
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-x | src/auditor/test-auditor.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 7100c5a4a..b5f63cc2d 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -157,6 +157,12 @@ 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" +then + exit_fail "Wrong total bad sig loss, got unexpected loss of $LOSS" +fi + echo -n "Test for wire amounts... " WIRED=`jq -r .total_wire_in_delta_plus < test-wire-audit.json` if test $WIRED != "TESTKUDOS:0" |