commit f0d8311b1ccbe9e816127ca9a4de65a6f605c4b9
parent 1255ec9a1558e0d2157e591256635d6518e54204
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 17 Jan 2020 23:34:42 +0100
fix test
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
@@ -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