aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/util.sh
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-02-12 21:33:00 -0500
committerGavin Andresen <gavinandresen@gmail.com>2014-02-13 10:25:42 -0500
commit867dfb4a088e884e8d428b69e72740aad0811303 (patch)
tree0714385ff2ca3407bc6778efcff6cfff80e5c806 /qa/rpc-tests/util.sh
parent19e5b9d2dfcac4efadba636745485d9660fb1abe (diff)
downloadbitcoin-867dfb4a088e884e8d428b69e72740aad0811303.tar.xz
Make qa/rpc-tests/ compatible with OSX
Reworked send.sh, so it works properly on my Mac (killall send.sh doesn't work, because the process name is 'bash' not 'send.sh'). So now send.sh writes a .send.pid file, and invoking it as send.sh -STOP (as the bitcoind -walletnotify) signals that PID.
Diffstat (limited to 'qa/rpc-tests/util.sh')
-rw-r--r--qa/rpc-tests/util.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/util.sh b/qa/rpc-tests/util.sh
index fed7d32561..d1e4c941cc 100644
--- a/qa/rpc-tests/util.sh
+++ b/qa/rpc-tests/util.sh
@@ -23,7 +23,7 @@ function CreateDataDir {
echo "rpcuser=rt" >> $CONF
echo "rpcpassword=rt" >> $CONF
echo "rpcwait=1" >> $CONF
- echo "walletnotify=killall -HUP `basename ${SENDANDWAIT}`" >> $CONF
+ echo "walletnotify=${SENDANDWAIT} -STOP" >> $CONF
shift
while (( "$#" )); do
echo $1 >> $CONF