aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-07 22:08:58 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-07 22:08:58 +0100
commitdd66d2ae7bd0b3f19b1e2a1448c05af039994b7d (patch)
tree2adb677b2e0cd27d5abc8d671db2907864f009b0 /src/auditor
parentde6d13e9103e4f7e3273e4fcb3d512fbb3b11745 (diff)
work on 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 c5653a621..68640f85a 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1079,12 +1079,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