HomePhabricator

Add bitcoin-cli -stdin and -stdinrpcpass + tests

Description

Add bitcoin-cli -stdin and -stdinrpcpass + tests

Summary:
Backport from Core's PR10997 and PR11125

PR10997:

79191f5 Add option -stdinrpcpass to allow RPC password to be read from standa…

and the tests for it:

PR11125:

29e1dfb [test] Add bitcoin-cli -stdin and -stdinrpcpass functional tests (João Barbosa)
ce379b4 [test] Replace check_output with low level version (João Barbosa)
232e3e8 [test] Add assert_raises_process_error to assert process errors (João Barbosa)
5c18a84 [test] Add support for custom arguments to TestNodeCLI (João Barbosa)
e127494 [test] Improve assert_raises_jsonrpc docstring (João Barbosa)
7696841 Fix style in -stdin and -stdinrpcpass handling (João Barbosa)

Test Plan: make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: schancel, deadalnix, teamcity

Maniphest Tasks: T210

Differential Revision: https://reviews.bitcoinabc.org/D1042

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Aug 25 2017, 02:31
matiuCommitted on Feb 2 2018, 14:31
matiuPushed on Feb 2 2018, 14:31
Reviewer
Restricted Project
Differential Revision
D1042: Add bitcoin-cli -stdin and -stdinrpcpass + tests
Parents
rABC23870542d3b4: qa: Add multiwallet prefix test
Branches
Unknown
Tags
Unknown

Event Timeline