Skip to content

test(rsync_io): SSH child exit + stderr capture (#2376) - #4383

Merged
oferchen merged 1 commit into
masterfrom
test/sse-stderr-child-exit
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
test/sse-stderr-child-exit

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Test plan

  • cargo nextest run -p rsync_io --features ssh-socketpair-stderr -E 'test(child_non_zero_exit)' on Linux
  • cargo nextest run -p rsync_io --features ssh-socketpair-stderr -E 'test(child_non_zero_exit)' on macOS
  • Confirm the file compiles out on Windows builds (no test bodies due to the cfg!(unix) gate)

@github-actions github-actions Bot added the test label May 18, 2026
@oferchen
oferchen force-pushed the test/sse-stderr-child-exit branch from f74e1b6 to b73dc61 Compare May 18, 2026 00:12
SSE-7: cover the contract that the socketpair-backed stderr drain
landed in SSE-3 (#2372) and SSE-4 (#2373) surfaces both the child's
non-zero ExitStatus and the captured stderr bytes intact. Gated on
unix + the ssh-socketpair-stderr feature so the parity test only runs
on the path the feature wires up. Verifies both the SshConnection
wait_with_stderr and the SshChildHandle wait_with_stderr code paths.
@oferchen
oferchen force-pushed the test/sse-stderr-child-exit branch from b73dc61 to 445e35b Compare May 18, 2026 00:57
@oferchen
oferchen merged commit 649bb10 into master May 18, 2026
4 of 15 checks passed
oferchen added a commit that referenced this pull request May 18, 2026
SSE-7: cover the contract that the socketpair-backed stderr drain
landed in SSE-3 (#2372) and SSE-4 (#2373) surfaces both the child's
non-zero ExitStatus and the captured stderr bytes intact. Gated on
unix + the ssh-socketpair-stderr feature so the parity test only runs
on the path the feature wires up. Verifies both the SshConnection
wait_with_stderr and the SshChildHandle wait_with_stderr code paths.
oferchen added a commit that referenced this pull request May 18, 2026
SSE-7: cover the contract that the socketpair-backed stderr drain
landed in SSE-3 (#2372) and SSE-4 (#2373) surfaces both the child's
non-zero ExitStatus and the captured stderr bytes intact. Gated on
unix + the ssh-socketpair-stderr feature so the parity test only runs
on the path the feature wires up. Verifies both the SshConnection
wait_with_stderr and the SshChildHandle wait_with_stderr code paths.
@oferchen
oferchen deleted the test/sse-stderr-child-exit branch May 19, 2026 15:12
oferchen added a commit that referenced this pull request Aug 24, 2026
SSE-7: cover the contract that the socketpair-backed stderr drain
landed in SSE-3 (#2372) and SSE-4 (#2373) surfaces both the child's
non-zero ExitStatus and the captured stderr bytes intact. Gated on
unix + the ssh-socketpair-stderr feature so the parity test only runs
on the path the feature wires up. Verifies both the SshConnection
wait_with_stderr and the SshChildHandle wait_with_stderr code paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant