Skip to content

Conversation

@DaveGosselin-MariaDB
Copy link
Member

If the dylib isn't found on linux, then dlerror() returns 'no such file' but on Mac it returns a lot more information. Our tests expect the string 'no such file', so detect that error on Mac and replace the text.

If the dylib isn't found on linux, then dlerror() returns
'no such file' but on Mac it returns a lot more information.
Our tests expect the string 'no such file', so detect that
error on Mac and replace the text.
@vuvova
Copy link
Member

vuvova commented Dec 11, 2024

"a lot more information" is usually good. If it's a useful information. Better to adjust the test to be less picky

@DaveGosselin-MariaDB
Copy link
Member Author

"a lot more information" is usually good. If it's a useful information. Better to adjust the test to be less picky

It's not really useful, just path information, which isn't available on Linux.

@9EOR9
Copy link
Collaborator

9EOR9 commented Jan 15, 2025

I would keep this information. I don't know if multiauth is skipped or limited on windows, but we also extend the Windows system error message with path information

@DaveGosselin-MariaDB
Copy link
Member Author

I'm happy to keep it, but I'm wondering how to make the test resilient to the differences in output across operating systems, do you have advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants