Commit ea79cfed authored by vipwzw's avatar vipwzw

auto ci

parent 7ae9e8e5
...@@ -140,7 +140,7 @@ queryBalance1() { ...@@ -140,7 +140,7 @@ queryBalance1() {
ok=$(jq '(.error|not) and (.result != "")' <<<"$resp") ok=$(jq '(.error|not) and (.result != "")' <<<"$resp")
[ "$ok" == true ] [ "$ok" == true ]
echo_rst "$FUNCNAME" "$?" echo_rst "$FUNCNAME" "$?"
echo "$resp"|jq -r ".result" echo "$resp" | jq -r ".result"
} }
sendTransaction2() { sendTransaction2() {
...@@ -216,7 +216,7 @@ queryBalance2() { ...@@ -216,7 +216,7 @@ queryBalance2() {
[ "$ok" == true ] [ "$ok" == true ]
echo_rst "$FUNCNAME" "$?" echo_rst "$FUNCNAME" "$?"
echo "$resp"|jq -r ".result" echo "$resp" | jq -r ".result"
} }
queryBalance3() { queryBalance3() {
...@@ -228,7 +228,7 @@ queryBalance3() { ...@@ -228,7 +228,7 @@ queryBalance3() {
[ "$ok" == true ] [ "$ok" == true ]
echo_rst "$FUNCNAME" "$?" echo_rst "$FUNCNAME" "$?"
echo "$resp"|jq -r ".result" echo "$resp" | jq -r ".result"
} }
set -x set -x
...@@ -587,11 +587,9 @@ function run_test() { ...@@ -587,11 +587,9 @@ function run_test() {
#等待2个区块 #等待2个区块
block_wait 2 block_wait 2
#查询游戏状态 #查询游戏状态
guess_QueryGameByID "$eventId" 11 guess_QueryGameByID "$eventId" 11
#用户1下注 #用户1下注
guess_game_bet1 guess_game_bet1
...@@ -601,7 +599,6 @@ function run_test() { ...@@ -601,7 +599,6 @@ function run_test() {
#查询游戏状态 #查询游戏状态
guess_QueryGameByID "$eventId" 12 guess_QueryGameByID "$eventId" 12
#用户2下注 #用户2下注
guess_game_bet2 guess_game_bet2
...@@ -611,7 +608,6 @@ function run_test() { ...@@ -611,7 +608,6 @@ function run_test() {
#查询游戏状态 #查询游戏状态
guess_QueryGameByID "$eventId" 12 guess_QueryGameByID "$eventId" 12
#管理员发布结果 #管理员发布结果
guess_game_abort guess_game_abort
......
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