utils/vmbox/tests
Krzysztof kuhy Rudnicki 60571adb40 vmbox: assert destruction host-side; README gets the measured constants
The destructive demo asked the guest to confirm its own destruction, one step
after deleting /usr -- which removes bash, sshd and agetty. Nothing would have
been left to answer, so the check would have FAILED on a step that actually
succeeded. It now proves breakage from the host (the overlay grew, and the
guest can no longer answer at all), which is the same evidence the shutdown
verdict relies on and for the same reason: a corpse cannot report its own
death.

Step 3 also no longer recreates the sandbox. `vm reset` in step 4 is the claim
under test; recreating first would have quietly tested something easier.

README's verdict table now carries the MEASURED qmp events per guest command
rather than the inferred ones, and states the finding that motivates the whole
design: ssh returned an identical "Connection closed by remote host" for the
poweroff, the reboot AND the panic.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdyMBGCrGVGDWtJ9xe48f3
2026-08-22 21:13:41 +02:00
..
destructive_demo.sh vmbox: assert destruction host-side; README gets the measured constants 2026-08-22 21:13:41 +02:00
shutdown_verdict_demo.sh vmbox: add the end-to-end acceptance demos 2026-08-22 21:08:53 +02:00
test_vmbox.bats vmbox: disposable Arch VM sandbox for destructive system tests 2026-08-22 20:47:56 +02:00