Skip to content

Fix running the test suite on musl systems#387

Merged
jstasiak merged 1 commit intomasterfrom
fix-tests-on-musl
May 26, 2024
Merged

Fix running the test suite on musl systems#387
jstasiak merged 1 commit intomasterfrom
fix-tests-on-musl

Conversation

@jstasiak
Copy link
Contributor

musl's inet_ntop doesn't format IPv4-compatible IPv6 addresses in any special way and there's no dot notation in the output there.

We need to account for that.

In doctests this is achieved by changing the examples or, where not applicable, disabling them.

In more standard test code we simply made a few tests conditional.

Resolves: #381

musl's inet_ntop doesn't format IPv4-compatible IPv6 addresses in any
special way and there's no dot notation in the output there.

We need to account for that.

In doctests this is achieved by changing the examples or, where not
applicable, disabling them.

In more standard test code we simply made a few tests conditional.

Resolves: #381
@jstasiak jstasiak merged commit f630cff into master May 26, 2024
@jstasiak jstasiak deleted the fix-tests-on-musl branch May 26, 2024 12:55
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.

Test failure on musl

1 participant