github.com/karalabe/go-ethereum@v0.8.5/eth/test/tests/00.sh (about) 1 #!/bin/bash 2 3 TIMEOUT=4 4 5 cat >> $JSFILE <<EOF 6 eth.addPeer("localhost:30311"); 7 sleep(1000) 8 eth.export("$CHAIN_TEST"); 9 EOF 10 11 peer 11 01 12 test_node $NAME "" -loglevel 5 $JSFILE 13