diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-12 21:33:00 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-13 10:25:42 -0500 |
commit | 867dfb4a088e884e8d428b69e72740aad0811303 (patch) | |
tree | 0714385ff2ca3407bc6778efcff6cfff80e5c806 /qa/rpc-tests/util.sh | |
parent | 19e5b9d2dfcac4efadba636745485d9660fb1abe (diff) |
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.sh | 2 |
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 |