diff options
| author | Ben Woosley <[email protected]> | 2018-07-20 14:14:08 -0400 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-07-20 14:24:47 -0400 |
| commit | 5b82aa73523ec98847bbf281147c7d1054f4d207 (patch) | |
| tree | ef3c0af2d9a5459d4ce560a570f21de56374a46f /test/functional/interface_bitcoin_cli.py | |
| parent | Merge #13482: Remove boost::program_options dependency (diff) | |
| download | discoin-5b82aa73523ec98847bbf281147c7d1054f4d207.tar.xz discoin-5b82aa73523ec98847bbf281147c7d1054f4d207.zip | |
Fix bitcoin-cli --version
By declaring the relevant option.
Note contrib/devtools/gen-manpages.sh relies on this version information.
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
| -rwxr-xr-x | test/functional/interface_bitcoin_cli.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index e29fdc84e..b097c64b1 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -15,6 +15,9 @@ class TestBitcoinCli(BitcoinTestFramework): def run_test(self): """Main test logic""" + cli_response = self.nodes[0].cli("-version").send_cli() + assert("Bitcoin Core RPC client version" in cli_response) + self.log.info("Compare responses from gewalletinfo RPC and `bitcoin-cli getwalletinfo`") cli_response = self.nodes[0].cli.getwalletinfo() rpc_response = self.nodes[0].getwalletinfo() |