Commit bc987bb3 authored by linj's avatar linj

fix

parent e8832eca
...@@ -51,8 +51,8 @@ function unfreeze_test() { ...@@ -51,8 +51,8 @@ function unfreeze_test() {
${CLI} send unfreeze terminate --id "${uid}" -k "${owner_key}" ${CLI} send unfreeze terminate --id "${uid}" -k "${owner_key}"
block_wait "${CLI}" 2 block_wait "${CLI}" 2
remaining=$(${CLI} unfreeze show --id "${uid}" | jq ".remaining") remaining=$(${CLI} unfreeze show --id "${uid}" | jq ".remaining")
remainingNum=`echo $a | awk '{print int($0)}'` remainingNum=$(echo "$remaining" | awk '{print int($0)}')
if [ "100000000" -lt ${remainingNum} ]; then if [ "100000000" -lt "${remainingNum}" ]; then
echo "terminate failed, expect remaining < 100000000, result ${remaining}" echo "terminate failed, expect remaining < 100000000, result ${remaining}"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment