Skip to content

Add stdin detach/re-attach coverage#7

Open
dmcgowan wants to merge 1 commit into
mainfrom
detach-tests
Open

Add stdin detach/re-attach coverage#7
dmcgowan wants to merge 1 commit into
mainfrom
detach-tests

Conversation

@dmcgowan

Copy link
Copy Markdown
Member

Add a StdinDetachReattach conformance test verifying that closing a client's stdin write end without CloseIO does not deliver EOF, and that only CloseIO delivers it, allowing detach and later re-attach.

Fix testOutboundTCP, testOutboundUDP, and the stress exec round-trip helper to issue CloseIO for stdin EOF instead of relying on the client's own FIFO/pipe write end closing alone, and fix ordering so the Windows stdin pipe listener is accepting before Create/Exec dials it.

Add a StdinDetachReattach conformance test verifying that closing a
client's stdin write end without CloseIO does not deliver EOF, and that
only CloseIO delivers it, allowing detach and later re-attach.

Fix testOutboundTCP, testOutboundUDP, and the stress exec round-trip
helper to issue CloseIO for stdin EOF instead of relying on the client's
own FIFO/pipe write end closing alone, and fix ordering so the Windows
stdin pipe listener is accepting before Create/Exec dials it.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@Kern--

Kern-- commented Jul 15, 2026

Copy link
Copy Markdown

Is this test failure because nerdbox is actually non-conformant? Are you tracking a fix for that?

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.

2 participants