aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_test.sh
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-24 18:59:48 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:51 +0800
commit832edda709e2d6414e417e8e561b9cc83f8f09bb (patch)
treed797fb233f3fb6758b69d2550440cfad40765e5d /test/run_test.sh
parentd8b0b71610758cc7d218a012f27071937efff60e (diff)
downloaddexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.gz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.bz2
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.lz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.xz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.zst
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.zip
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-xtest/run_test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
index 8e678fc43..ddbe30b4a 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -1,16 +1,16 @@
#!/bin/bash
-GETH=../build/bin/geth
+GDEX=../build/bin/gdex
-pkill -9 -f geth
+pkill -9 -f gdex
bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 &
for i in $(seq 0 3); do
datadir=$PWD/Dexon.$i
rm -rf $datadir
- $GETH --datadir=$datadir init genesis.json
- $GETH --verbosity=4 --datadir=$datadir --nodekey=test$i.nodekey --port=$((28000 + $i)) --rpc --rpcaddr 127.0.0.1 --rpcport=$((8545 + $i)) --rpcapi=eth,net,web3,debug --rpcvhosts='*' --rpccorsdomain="http://localhost:8000,https://www.myetherwallet.com" > geth.$i.log 2>&1 &
+ $GDEX --datadir=$datadir init genesis.json
+ $GDEX --verbosity=4 --datadir=$datadir --nodekey=test$i.nodekey --port=$((28000 + $i)) --rpc --rpcaddr 127.0.0.1 --rpcport=$((8545 + $i)) --rpcapi=eth,net,web3,debug --rpcvhosts='*' --rpccorsdomain="http://localhost:8000,https://www.myetherwallet.com" > gdex.$i.log 2>&1 &
done
-tail -f geth.*.log
+tail -f gdex.*.log