diff options
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index 7bcb0f688..5c4345925 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -10,7 +10,7 @@ NETWORK="${1}" if [ "$2" == "--local" ]; then NETWORK="${NETWORK} --bootnodes enode://0478aa13c91aa0db8e93b668313b7eb0532fbdb24f64772375373b14dbe326c238ad09ab4469f6442c9a9753f1275aeec2e531912c14a958ed1feb4ae7e227ef@127.0.0.1:30301" # Start bootnode. - bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 & + bootnode -nodekey keystore/bootnode.key --verbosity=9 > bootnode.log 2>&1 & fi GDEX=../build/bin/gdex @@ -21,6 +21,11 @@ pkill -9 -f gdex logsdir=$PWD/log-$(date '+%Y-%m-%d-%H:%M:%S') mkdir $logsdir +if [ -e log-latest ]; then + rm -f log-previous + mv log-latest log-previous +fi + rm -f log-latest ln -s $logsdir log-latest @@ -32,7 +37,7 @@ $GDEX \ ${NETWORK} \ --verbosity=4 \ --gcmode=archive \ - --datadir=$datadir --nodekey=testrpc.nodekey \ + --datadir=$datadir --nodekey=keystore/rpc.key \ --rpc --rpcapi=eth,net,web3,debug \ --rpcaddr=0.0.0.0 --rpcport=8545 \ --ws --wsapi=eth,net,web3,debug \ @@ -50,7 +55,7 @@ for i in $(seq 0 3); do --bp \ --verbosity=4 \ --gcmode=archive \ - --datadir=$datadir --nodekey=test$i.nodekey \ + --datadir=$datadir --nodekey=keystore/test$i.key \ --port=$((30305 + $i)) \ --rpc --rpcapi=eth,net,web3,debug \ --rpcaddr=0.0.0.0 --rpcport=$((8547 + $i * 2)) \ |