[bisq-network/bisq] Fix find pid on OSX (#5155)
Stan
notifications at github.com
Fri Feb 5 00:02:21 CET 2021
The trade simulation scripts check that bitcoind, a seed node, an arbitration node, and Bob & Alice nodes are running at startup, but the bash `pgrep` command used to find the PIDs does not work on OSX (darwin20). An adjustment was made to the env script to find java PIDs with `ps` and `awk`, if running on OSX.
Two additonal startup checks were added: make sure the script is running on supported OS (Linux or OSX), and `bitcoin-cli` is in the `PATH`.
Also removed some usage error text about registering dispute agents; the scripts do that now.
You can view, comment on, or merge this pull request online at:
https://github.com/bisq-network/bisq/pull/5155
-- Commit Summary --
* Fix find pid on OSX
-- File Changes --
M apitest/scripts/trade-simulation-env.sh (157)
-- Patch Links --
https://github.com/bisq-network/bisq/pull/5155.patch
https://github.com/bisq-network/bisq/pull/5155.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210204/0b58016d/attachment.htm>
More information about the bisq-github
mailing list