diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-17 23:34:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-17 23:34:42 +0100 |
commit | f0d8311b1ccbe9e816127ca9a4de65a6f605c4b9 (patch) | |
tree | 513a122e4bb66864cc2b33f6f5709e0aaa8ef6ab | |
parent | 1255ec9a1558e0d2157e591256635d6518e54204 (diff) | |
download | exchange-f0d8311b1ccbe9e816127ca9a4de65a6f605c4b9.tar.gz exchange-f0d8311b1ccbe9e816127ca9a4de65a6f605c4b9.tar.bz2 exchange-f0d8311b1ccbe9e816127ca9a4de65a6f605c4b9.zip |
fix test
-rwxr-xr-x | src/auditor/test-auditor.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 8b1159b4..968d2255 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 |