github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/chk.sh (about) 1 #!/usr/bin/env bash 2 source set_test_env.sh 3 4 pushd $TEST_RAFT_INSTANCE 5 6 while [ 1 ]; do 7 for file in BP*.toml; do 8 echo "file=$file" 9 port=$(grep 'netserviceport' $file | awk '{ print $3 }') 10 aergocli -p $port blockchain 11 done 12 sleep 2 13 echo "---------------" 14 done 15 16 popd