github.com/karalabe/go-ethereum@v0.8.5/eth/test/tests/03.sh (about)

     1  #!/bin/bash
     2  
     3  TIMEOUT=12
     4  
     5  cat >> $JSFILE <<EOF
     6  eth.addPeer("localhost:30311");
     7  sleep(10000);
     8  eth.export("$CHAIN_TEST");
     9  EOF
    10  
    11  peer 11 12k
    12  sleep 2
    13  test_node $NAME "" -loglevel 5 $JSFILE
    14