go-ethereum/eth/test/tests/03.sh

15 lines
184 B
Bash
Raw Normal View History

2015-01-05 10:10:42 -06:00
#!/bin/bash
2015-01-08 23:04:32 -06:00
TIMEOUT=12
2015-01-05 10:10:42 -06:00
cat >> $JSFILE <<EOF
eth.addPeer("localhost:30311");
2015-01-08 23:04:32 -06:00
sleep(10000);
2015-01-05 10:10:42 -06:00
eth.export("$CHAIN_TEST");
EOF
peer 11 12k
sleep 2
test_node $NAME "" -loglevel 5 $JSFILE