aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 23:34:42 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 23:34:42 +0100
commitf0d8311b1ccbe9e816127ca9a4de65a6f605c4b9 (patch)
tree513a122e4bb66864cc2b33f6f5709e0aaa8ef6ab /src/auditor
parent1255ec9a1558e0d2157e591256635d6518e54204 (diff)
fix test
Diffstat (limited to 'src/auditor')
-rwxr-xr-xsrc/auditor/test-auditor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 8b1159b46..968d22556 100755
--- 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