tests/e2e/project_test.go and desktop_test.go port tests/e2e.sh's
project and desktop sections, every check title word for word and in
the same order, with the same macOS and Linux branches (130 checks on a
Mac, 122 on Linux, with desktop's 16, its local proxy's two included). tests/e2e.sh drops both blocks
and the helpers only they used (tty_run, mounts_of, host_port_kept,
lima_serve, vm_say, lima_boot, ports_live, desktop_*, watch_*), their
host-tool checks and cleanup lines, and lists them in go_sections.
The project section sets the sandbox's Claude Code logins (which an
earlier network run leaves in devvm's store) aside while its agent VMs
run, as those VMs expect none, and puts them back after. The emptied
CA's check looks for the CA in the VM's bundle with vmHas.
Harness files: text_test.go (SaidLine, FirstLine, LastLine, Trim,
FilesHave, Listed, Locked, Procs, Forwarders, DevvmIn, OwnVM),
net_test.go (Reaches, ReachesWithin, Answer, Local, Local6, HostProgram,
LimaServe, VMSay, LimaBoot, PortsLive, HostPortKept), tty_test.go
(TTYRun, with Cmd's new Input), watch_test.go (WatchSees, WatchMisses),
ssh_test.go (SSHAgent, StopPid, KeyComments, RfwdLinks), goe2e_test.go
(ExecQuoting, ServeDesktop, Desktop's View and End). They use the
shared s.Start, NewCA, WatchProcs, MountLine, HasLine, ExitStatus,
gitTool, sshTool, devvmCmd, grepF, readText, vmHas, loopbackOnly and
limaListens. testing.md lists them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>