vcom/internal/testutil
vrubelroman 05da3c0d30 test: add in-process SSH/SFTP server and fault proxy (internal/testutil/sshtest)
Ports the analysts' testbed into a reusable package: Start(Options{Password,
AuthorizedKeys, HostKeys, NoExec, Chroot}), NewProxy with SetDelay/Freeze/
CutAfter/KillAll, IsolatedHome, GenKeys. Exec reports exit-status and
stderr; NoExec rejects exec like ForceCommand internal-sftp. All goroutines
stop on t.Cleanup (checked via runtime.NumGoroutine).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:56:05 +03:00
..
sshtest test: add in-process SSH/SFTP server and fault proxy (internal/testutil/sshtest) 2026-10-31 22:56:05 +03:00