This commit is contained in:
Christian Grothoff 2020-01-17 23:34:42 +01:00
parent 1255ec9a15
commit f0d8311b1c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1065,12 +1065,12 @@ echo PASS
echo -n "Testing risk/loss calculation... "
AMOUNT=`jq -r .emergencies_risk_by_amount < test-audit.json`
if test "x$AMOUNT" != "xTESTKUDOS:0"
if test "x$AMOUNT" == "xTESTKUDOS:0"
then
exit_fail "Reported amount wrong: $AMOUNT"
fi
AMOUNT=`jq -r .emergencies_risk_by_count < test-audit.json`
if test "x$AMOUNT" != "xTESTKUDOS:0"
if test "x$AMOUNT" == "xTESTKUDOS:0"
then
exit_fail "Reported amount wrong: $AMOUNT"
fi