Merge #12425: Add some script tests
Summary:
PR12425 backport https://github.com/bitcoin/bitcoin/pull/12425/files
be45a67 Add some script tests related to BOOL ops and odd values like negative 0. (Richard Kiss)
Pull request description:
Add some script tests related to BOOL ops and odd values like negative 0.
Backport note: 0x02 0x00 0x00 --> 0x02 0x0000 for our ParseScript variant.
Test Plan: make check
Reviewers: jasonbcox, Fabien, Mengerian, #bitcoin_abc, deadalnix
Reviewed By: jasonbcox, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D3109