aboutsummaryrefslogtreecommitdiffstats
path: root/Retesteth/eth/eth.sh
blob: 8324088012b511c9ccdde71bbf4951bedf475f10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
onexit() 
{ 
    kill $child 
}
trap onexit SIGTERM
trap onexit SIGABRT

##ARGUMENTS PASSED BY RETESTETH
##
## $1  <db-path>        A path to database directory that a client should use
## $2  <ipcpath>        A path to the ipc socket file (has /geth.ipc at the end)
#####

eth --test --db-path $1 --ipcpath $2 --log-verbosity 5 &
child=$! 
wait "$child"