adjust test to code changes
This commit is contained in:
parent
4856d8114c
commit
13bbcef87b
@ -558,7 +558,7 @@ echo "UPDATE known_coins SET denom_sig='\x287369672d76616c200a2028727361200a2020
|
|||||||
run_audit
|
run_audit
|
||||||
|
|
||||||
ROW=`jq -e .bad_sig_losses[0].row < test-audit-coins.json`
|
ROW=`jq -e .bad_sig_losses[0].row < test-audit-coins.json`
|
||||||
if test $ROW != "-1"
|
if test $ROW != "1"
|
||||||
then
|
then
|
||||||
exit_fail "Row wrong, got $ROW"
|
exit_fail "Row wrong, got $ROW"
|
||||||
fi
|
fi
|
||||||
@ -570,7 +570,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
OP=`jq -r .bad_sig_losses[0].operation < test-audit-coins.json`
|
OP=`jq -r .bad_sig_losses[0].operation < test-audit-coins.json`
|
||||||
if test $OP != "known-coin"
|
if test $OP != "melt"
|
||||||
then
|
then
|
||||||
exit_fail "Wrong operation, got $OP"
|
exit_fail "Wrong operation, got $OP"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user