mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:27:14 +01:00
vmbox: note that vm screenshot is verified
Captured a real 1280x800 PNG of a sandbox's i3 session straight from qemu's framebuffer -- no VNC or SPICE viewer installed on the host. This is the path locker and fullscreen-gate tests use, and it is safer than testing those on the host, where a fullscreen locker can hijack input and steal focus. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdyMBGCrGVGDWtJ9xe48f3
This commit is contained in:
parent
45b923dfac
commit
c6688a21f7
@ -118,7 +118,7 @@ Two things that installer taught us, both worth knowing before you run it:
|
||||
| `vm new <name> [--rtc <ts>]` | Create a sandbox |
|
||||
| `vm run <name> <cmd...>` | Run a command, print the verdict |
|
||||
| `vm ssh <name>` | Interactive shell (starts the VM if needed) |
|
||||
| `vm screenshot <name> [out.png]` | Capture the screen (locker/X11 tests) |
|
||||
| `vm screenshot <name> [out.png]` | Capture the screen (locker/X11 tests) — verified: real 1280x800 PNG of the guest's i3 session, no viewer installed |
|
||||
| `vm reset <name>` | Wipe back to pristine |
|
||||
| `vm rm <name>` / `vm list` | Delete / list sandboxes |
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user