Commit graph

3 commits

Author SHA1 Message Date
vrubelroman
1f6f400276 test: add teadriver and behavioural smoke tests for the old UI
teadriver feeds keys/mouse to Update, runs returned commands concurrently
(unwrapping Batch and Sequence), feeds results back until quiet, skips
long timers, records Quit and ExecProcess requests, and renders View
without ANSI under an Ascii profile (WithProfile for others).

Smoke tests cover navigation, mkdir, copy, rename, filter and delete on
t.TempDir(); PgDn and Cyrillic input are skipped until task 1.6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:01:22 +03:00
vrubelroman
ffcc8f5806 test: add fstree helper to build, snapshot and diff directory trees
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:57:11 +03:00
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