summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 11:26:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 11:26:33 +0100
commit13bbcef87b7a88344aa09922205932a80dd610ac (patch)
tree476f138fcdbf135cd9de027fe48ed2b6c5678d2a
parent4856d8114c971fb37a5b913437f22fbc7ceb6fa9 (diff)
downloadexchange-13bbcef87b7a88344aa09922205932a80dd610ac.tar.gz
exchange-13bbcef87b7a88344aa09922205932a80dd610ac.tar.bz2
exchange-13bbcef87b7a88344aa09922205932a80dd610ac.zip
adjust test to code changes
-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 21d74417..c32cab44 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -558,7 +558,7 @@ echo "UPDATE known_coins SET denom_sig='\x287369672d76616c200a2028727361200a2020
run_audit
ROW=`jq -e .bad_sig_losses[0].row < test-audit-coins.json`
-if test $ROW != "-1"
+if test $ROW != "1"
then
exit_fail "Row wrong, got $ROW"
fi
@@ -570,7 +570,7 @@ then
fi
OP=`jq -r .bad_sig_losses[0].operation < test-audit-coins.json`
-if test $OP != "known-coin"
+if test $OP != "melt"
then
exit_fail "Wrong operation, got $OP"
fi