Files
komorebi/nix/linux/tests/vm/suites/restart-survival/test.py
T
LGUG2Z f01853ceca refactor(repo): move the KDE and macOS nix files under nix/ (pure move)
komorebi-for-kde/nix/ -> nix/linux/
komorebi-for-mac/nix/ -> nix/macos/

The nix expressions of the platforms (modules, option files, VM test suites, kwin effects,
the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252
files); the flakes that import them are replaced by one root flake later in this stack, so
nix does not evaluate at this revision.
2026-11-05 15:03:27 -08:00

18 lines
818 B
Python

# The keys of the engine survive the daemon and KWin going away. kglobalaccel keeps the keys of a
# client that died, swallowed and running nothing, until they are unregistered; and it runs inside
# KWin, so a KWin that restarts forgets them. Only a real session can say that the module's unit
# releases the keys of a daemon that was killed, that a new daemon takes them over, and that the
# daemon registers them again with the kglobalaccel of a new KWin.
from komorebi_vm import Checks
from komorebi_vm.core.suite import platform_only, run_suite
from komorebi_vm.platforms.kde.extras import restart_survival as kde_restart_survival
start_all()
machine.wait_for_unit("multi-user.target")
checks = Checks()
run_suite(checks, platform_only("kde", kde_restart_survival.run, machine, checks, SCALE))
checks.finish()