Skip to content

test_posix_pty_functions fails on Solaris: slave is not a terminal #154226

Description

@serhiy-storchaka

Bug report

test_posix_pty_functions fails on Solaris/illumos:

OSError: [Errno 25] Inappropriate ioctl for device

The test opens a pty slave with os.open() and expects os.ttyname() to work, but on System V-derived systems the slave is not a terminal until the ptem and ldterm STREAMS modules are pushed onto it. Push them on sunos.

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 fixes3.16new features, bugs and security fixesOS-unsupportedtestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions