diff options
| author | Cory Fields <[email protected]> | 2014-08-15 23:15:49 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-08-15 23:17:43 -0400 |
| commit | 9322f1a4d9ab301f2f6b8a404fb6012d8b50ef74 (patch) | |
| tree | 5073ba21115c39731ffbbbc37930c36e7788c4d3 /qa/pull-tester | |
| parent | Merge pull request #4638 (diff) | |
| download | discoin-9322f1a4d9ab301f2f6b8a404fb6012d8b50ef74.tar.xz discoin-9322f1a4d9ab301f2f6b8a404fb6012d8b50ef74.zip | |
tests: fix test-runner for osx. Closes ##4708
Use the more portable $$ rather than $BASHPID
Diffstat (limited to 'qa/pull-tester')
| -rwxr-xr-x | qa/pull-tester/run-bitcoind-for-test.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/pull-tester/run-bitcoind-for-test.sh.in b/qa/pull-tester/run-bitcoind-for-test.sh.in index e186bd7a2..67318e5a4 100755 --- a/qa/pull-tester/run-bitcoind-for-test.sh.in +++ b/qa/pull-tester/run-bitcoind-for-test.sh.in @@ -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=$! |