Page MenuHomePhabricator

scripted-diff: test: replace command with msgtype (naming)
ClosedPublic

Authored by Fabien on Thu, Nov 19, 14:05.

Details

Summary
This is the functional test framework pendant for
7777e3624fabe4718675b2be8b088697b7ad4d0d, which renamed "strCommand"
with "msg_type" in the network processing code.

-BEGIN VERIFY SCRIPT-
 # Rename in test framework
 sed -i 's/command/msgtype/g'
./test/functional/test_framework/messages.py
./test/functional/test_framework/mininode.py
 # Rename in individual tests
 sed -i 's/command/msgtype/g' ./test/functional/p2p_invalid_messages.py
./test/functional/p2p_leak.py
-END VERIFY SCRIPT-

Backport of core PR18610.

Test Plan
ninja check-functional

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.