diff options
author | Jadi <jadijadi@gmail.com> | 2024-09-02 16:18:33 +0330 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-09-05 09:40:11 +0100 |
commit | 199bb09d88e28d951c5068eb65643390dbedd066 (patch) | |
tree | 367e1235c2f8798ea1d5375a3824e32427eec20e /qa/rpc-tests/invalidblockrequest.py | |
parent | 342baabaffc385dc44a44f6d8cf32728a25a0356 (diff) |
test: fixing failing system_tests/run_command under some Locales
the run_command test under system_tests fails if the locale is anything
other than English ones because results such as "No such file or directory"
will be different under Non-English locales.
On the old version, a `ls nonexistingfile` was used to generate the error
output which is not ideal. In the current version we are using a Python one-liner
to generate a non 0 zero return value and "err" on stderr and check the
expected value against this.
fixes #30608
Github-Pull: #30788
Rebased-From: ae48a22a3df086fb59843b7b814619ed5df7557b
Diffstat (limited to 'qa/rpc-tests/invalidblockrequest.py')
0 files changed, 0 insertions, 0 deletions