Page MenuHomePhabricator

qa: Fix double-negative arg test
ClosedPublic

Authored by PiRK on Mon, Nov 16, 15:05.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC19458b9aa1e0: qa: Fix double-negative arg test
Summary

The test is made more robust by not accept trailing characters after 0.
This change was made after the test failed to fail when a bug was introduced (pointer address used instead of the string in a LogPrintf call).

This is a backport of Core PR17893

Test Plan

ninja && test/functional/test_runner.py feature_config_args.py

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.