From bda6c6c633cab11608ae671f9995caae6e3a3379 Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 9 Sep 2026 13:54:35 -0600 Subject: [PATCH] qemu: two tests the review pass left on disk tests/scripts/fullscreen-toggle-tracks-real-state.txt pins the debug channel's `fullscreen toggle` deciding from the dashboard's real state rather than a private flag that `home` and a real tap left stale (rig: 14 ok). tests/test-ui-drive-rs485.sh runs offline with a fake run.sh and socat and proves ui-drive.sh --rs485-devices fails closed when the socket, pty or control socket never appears, dumps mbsim.log on failure, and kills a simulator that ignores SIGTERM. README lists both. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01N3G6m9Aw5RyVY4ZowtKzEj --- qemu/README.md | 3 +- .../fullscreen-toggle-tracks-real-state.txt | 39 ++++ qemu/tests/test-ui-drive-rs485.sh | 192 ++++++++++++++++++ 3 files changed, 233 insertions(+), 1 deletion(-) create mode 100644 qemu/tests/scripts/fullscreen-toggle-tracks-real-state.txt create mode 100755 qemu/tests/test-ui-drive-rs485.sh diff --git a/qemu/README.md b/qemu/README.md index a3cd524..9b37250 100644 --- a/qemu/README.md +++ b/qemu/README.md @@ -92,8 +92,9 @@ All take the virt-fragment ``; `FLARE_EDGE=` where noted. | `portal-scenario.sh` | `FLARE_EDGE` | real flared against the desk mock portal: authenticated check-in, desired-state pull, signed tier-1 `.wfw` download; verify/stage/APPLYING as a dry run (no `WARDEN_FW_ALLOW_APPLY`) | | `ota-apply.sh` | `FLARE_EDGE` | the FULL apply: the `.wfw`'s bootable rootfs payload is written to rootfs_b (`run.sh --allow-apply` gates it per boot), the AvbABData in `misc` flips, and slot `_b` boots the applied version | | `ui-shot.sh` | - | display+touch, headless: QMP-screendumps the 720x720 UI, taps the Metrics tab via `input-send-event`, asserts the frame changed (`qmp.py` is the QMP client) | -| `ui-drive.sh