Skip to content

Commit 5ab0bc7

Browse files
14seaclaude
andcommitted
test(api): exercise SendCtrlAltDel on aarch64
Update the API test now that SendCtrlAltDel is accepted on aarch64. Kept as a separate commit so it can be easily dropped or updated once the CI guest kernels are rebuilt with the gpio-keys config. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: 14sea <wanhuaning@gmail.com>
1 parent 395906d commit 5ab0bc7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tests/integration_tests/functional/test_api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,13 @@ def test_drive_patch(uvm, io_engine):
774774

775775

776776
@pytest.mark.skipif(
777-
platform.machine() != "x86_64", reason="not yet implemented on aarch64"
777+
platform.machine() != "x86_64",
778+
reason="On x86 CTRL+ALT+DEL triggers a kernel-level reboot via the i8042 device. The "
779+
"aarch64 SendCtrlAltDel path is implemented (PL061 GPIO power button) and the required "
780+
"guest kernel config (CONFIG_GPIOLIB/GPIO_PL061/INPUT_KEYBOARD/KEYBOARD_GPIO) is now in "
781+
"resources/guest_configs/ci.config, with systemd-logind already present in the CI rootfs. "
782+
"This can be un-skipped on aarch64 once the CI guest-kernel artifacts are rebuilt with that "
783+
"config so gpio-keys is available.",
778784
)
779785
def test_send_ctrl_alt_del(uvm):
780786
"""

0 commit comments

Comments
 (0)