Files
edemilov 8a6f0fe413 test: cover install_terminal_prereqs apt branch and Hyprland-skip/TerminalLook-completes composition
- install_terminal_prereqs's apt branch was untested even though the
  existing test already stubbed apt-get; added a dedicated test asserting
  the exact apt-get update / apt-get install -y zsh git curl fzf calls with
  no pacman on PATH.
- Added an end-to-end test (both components picked, Hyprland's prerequisite
  missing) exercising the exact composition Task 2's refactor exists for:
  Hyprland skips cleanly via check_arch failing, and TerminalLook (Kali
  look) still runs to completion in the same main() invocation. Uses a
  clean-room PATH (real coreutils/git/bash symlinked in, no-op stand-ins for
  apt-get/sudo/zsh/chsh, pacman never added) so the assertion holds
  regardless of whether the host running the tests actually has pacman.

Addresses findings 5 and 6 from the final whole-branch review.
2026-08-30 17:46:56 +03:00
..