[MDEV-27448] MTR returns success (zero) upon invalid option Created: 2022-01-09  Updated: 2022-04-11  Resolved: 2022-04-11

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3, 10.9.1

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Anel Husakovic
Resolution: Fixed Votes: 0
Labels: None


 Description   

$ perl ./mtr --ps--protocol
Logging: ./mtr  --ps--protocol
VS config: 
Invalid option "--ps--protocol"
For full list of options, use ./mtr --help
$ echo $?
0



 Comments   
Comment by Shunsuke Tokunaga [ 2022-04-11 ]

I created a PR to fix this issue: https://github.com/MariaDB/server/pull/2090
Could someone (@elenst?) review it?

Generated at Thu Feb 08 09:52:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.