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

Function of sendeof in Windows #61

Open
Stefanhg opened this issue Sep 30, 2023 · 0 comments
Open

Function of sendeof in Windows #61

Stefanhg opened this issue Sep 30, 2023 · 0 comments

Comments

@Stefanhg
Copy link

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)
Stefanhg added a commit to Stefanhg/wexpect that referenced this issue Sep 30, 2023
The EOF character is formatted differently in Windows.
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

1 participant