| Bug #111771 | Mysql client test did not give the correct test name when tests are not found | ||
|---|---|---|---|
| Submitted: | 17 Jul 2023 7:54 | Modified: | 17 Jul 2023 8:14 |
| Reporter: | He Wang | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Tests | Severity: | S3 (Non-critical) |
| Version: | 8.0, 8.0.33 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[17 Jul 2023 8:14]
MySQL Verification Team
Hello He Wang, Thank you for the report and feedback. Verified as described. regards, Umesh

Description: When mysql_client_test fails, the output: Given test not found: 'ALWAYS THE NAME OF FIRST TEST' How to repeat: ./mysql_client_test test_bug5019 fff Suggested fix: --- a/testclients/mysql_client_fw.cc +++ b/testclients/mysql_client_fw.cc @@ -1262,7 +1260,7 @@ int main(int argc, char **argv) { } } if (!fptr->name) { - fprintf(stderr, "\n\nGiven test not found: '%s'\n", *argv); + fprintf(stderr, "\n\nGiven test not found: '%s'\n", *curr_test); fprintf(stderr, "See legal test names with %s -T\n\nAborting!\n", my_progname); client_disconnect(mysql);