Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appender test failing on MacOS Sequoia due to new OS behaviour #134

Open
angusryer opened this issue Nov 29, 2024 · 1 comment
Open

Appender test failing on MacOS Sequoia due to new OS behaviour #134

angusryer opened this issue Nov 29, 2024 · 1 comment

Comments

@angusryer
Copy link

like($app->buffer(), qr/^[^:]+:That's the message$/);

The hostname check here fails because of what seems to be a bug(?) in MacOS Sequoia that replaces the value for HostName to be the local computer's MAC address.

A workaround is:

sudo scutil --set HostName "your-preferred-hostname"
mschilli added a commit that referenced this issue Dec 31, 2024
reported that MacOS Sequoia uses MAC addresses for hostnames, which
caused the test suite to fail, expecting no colons (:) within
hostnames. Now allowing colons, just expecting no spaces in
hostnames.
@mschilli
Copy link
Owner

Hey @angusryer, thanks for your report, much appreciated! Pretty strange what MacOS Sequoia is doing here and you've already provided a workaround. Now, the question is should we fix it in the test suite? It's an easy fix to allow the colons in MAC addresses as hostnames (just prohibit spaces, which I think are actually illegal), so I put out the PR: #135

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

No branches or pull requests

2 participants