Commit 85ae730f authored by vipwzw's avatar vipwzw

auto ci

parent 8894ea9c
...@@ -8,7 +8,7 @@ PARA_HTTP="" ...@@ -8,7 +8,7 @@ PARA_HTTP=""
CASE_ERR="" CASE_ERR=""
GAME_ID="" GAME_ID=""
PASSWD="ABCD" PASSWD="ABCD"
HASH_VALUE=$(echo -n "ABCD1" | sha256sum |awk '{print $1}') HASH_VALUE=$(echo -n "ABCD1" | sha256sum | awk '{print $1}')
create_txHash="" create_txHash=""
match_txHash="" match_txHash=""
close_txHash="" close_txHash=""
...@@ -22,8 +22,6 @@ RED='\033[1;31m' ...@@ -22,8 +22,6 @@ RED='\033[1;31m'
GRE='\033[1;32m' GRE='\033[1;32m'
NOC='\033[0m' NOC='\033[0m'
function echo_rst() { function echo_rst() {
if [ "$2" -eq 0 ]; then if [ "$2" -eq 0 ]; then
echo -e "${GRE}$1 ok${NOC}" echo -e "${GRE}$1 ok${NOC}"
...@@ -255,7 +253,6 @@ function query_tx() { ...@@ -255,7 +253,6 @@ function query_tx() {
done done
} }
function init() { function init() {
ispara=$(echo '"'"${MAIN_HTTP}"'"' | jq '.|contains("8901")') ispara=$(echo '"'"${MAIN_HTTP}"'"' | jq '.|contains("8901")')
echo "ipara=$ispara" echo "ipara=$ispara"
...@@ -313,7 +310,6 @@ function main() { ...@@ -313,7 +310,6 @@ function main() {
block_wait 1 block_wait 1
init init
run_test "$MAIN_HTTP" run_test "$MAIN_HTTP"
......
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