Skip to content

Function of sendeof in Windows #61

@Stefanhg

Description

@Stefanhg

Hello,

I am looking into updating the testcases for Windows support.
While doing so, I am looking at the sendeof function and in Windows EOF is not supported so is this function supposed to have the same function as "exit" or should the test_eof testcase just be skipped for Windows?

For now I have done this for windows-only

child.sendeof()
assert child.read(2) == "^D"

I actually expected this to work but it doesn't:

child.sendeof()
child.expect(wexpect.EOF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions