Merge pull request #4710

9322f1a tests: fix test-runner for osx. Closes ##4708 (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2014-08-16 09:59:52 +02:00
commit 6f0458d1ec
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -9,7 +9,7 @@ mkdir -p "$DATADIR"/regtest
touch "$DATADIR/regtest/debug.log"
tail -q -n 1 -F "$DATADIR/regtest/debug.log" | grep -m 1 -q "Done loading" &
WAITER=$!
PORT=`expr 10000 + $BASHPID % 55536`
PORT=`expr 10000 + $$ % 55536`
"@abs_top_builddir@/src/bitcoind@EXEEXT@" -connect=0.0.0.0 -datadir="$DATADIR" -rpcuser=user -rpcpassword=pass -listen -keypool=3 -debug -debug=net -logtimestamps -port=$PORT -whitelist=127.0.0.1 -regtest -rpcport=`expr $PORT + 1` &
BITCOIND=$!