Sfoglia il codice sorgente

tests: fix test-runner for osx. Closes ##4708

Use the more portable $$ rather than $BASHPID
tags/v0.15.1
Cory Fields 7 anni fa
parent
commit
9322f1a4d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      qa/pull-tester/run-bitcoind-for-test.sh.in

+ 1
- 1
qa/pull-tester/run-bitcoind-for-test.sh.in Vedi 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=$!


Loading…
Annulla
Salva