Page MenuHomePhabricator

Tests: add usage note to check-rpc-mappings.py
ClosedPublic

Authored by Fabien on Wed, Jul 31, 08:02.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCc6982e5954ac: Tests: add usage note to check-rpc-mappings.py
Summary
This test would previously fail without a user-friendly warning message,
if invoked with no arguments.

Backport of core PR13707
https://github.com/bitcoin/bitcoin/pull/13707/files

Depends on D3772.

Also updated the copyright so the file is in sync with core.

Test Plan
./test/lint/check-rpc-mappings.py

Should return:

Usage: ./test/lint/check-rpc-mappings.py ROOT-DIR

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Wed, Jul 31, 08:02
Herald added a reviewer: Restricted Project. · View Herald TranscriptWed, Jul 31, 08:02
deadalnix accepted this revision.Thu, Aug 1, 06:16
This revision is now accepted and ready to land.Thu, Aug 1, 06:16
This revision was automatically updated to reflect the committed changes.