Skip to content

test_socket.testGetServBy fails on DragonFly BSD #154289

Description

@serhiy-storchaka

test_socket.GeneralModuleTests.testGetServBy fails on DragonFly with AssertionError: 7 != 4.

DragonFly's /etc/services lists echo 4/ddp (AppleTalk) before echo 7/tcp, so getservbyname('echo') returns 4 while getservbyname('echo', 'tcp') returns 7. The test already avoids the echo service on FreeBSD and NetBSD for this reason, but not on DragonFly.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixestestsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions