testsAndMisc/linux_configuration/scripts/single_use/features
Krzysztof kuhy Rudnicki 26afe4390c
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Cover aw_autostart.sh (82.93%), executing the script it generates
A 25-assertion suite for aw_autostart.sh, second in the hardest-first order.

The generated i3blocks status script is asserted by RUNNING it against
stubbed pacman/pgrep across all four of its branches -- uninstalled,
installed-but-stopped, running, installed-via-package -- rather than by
grepping the heredoc's text. A heredoc that emits syntactically broken bash
passes a text check and fails in front of the user.

One assertion was silently testing nothing at first: aw-qt is genuinely
installed at /usr/bin/aw-qt on this host, so the "not installed" case found
the real binary through the PREPENDED stub dir. PATH is now REPLACED for that
one case. The suite went 24-passed-1-failed -> 25-passed-0-failed, and the
gate caught it rather than the number.

Measured 68/82 = 82.93%; it STAYS on the allowlist. The residue is the
`[[ $EUID -eq 0 ]]` false branches, which are unreachable inside the jail
because the process is uid 0 there, plus the documented kcov under-report --
an `exit 44` sentinel proves create_i3blocks_status runs to completion while
its lines 145-162 report zero hits. Third lib to show it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016sxxsDHWgdRhmdmzNMA6XM
2026-08-22 12:49:51 +02:00
..
lib Cover aw_autostart.sh (82.93%), executing the script it generates 2026-08-22 12:49:51 +02:00
systemd Extract dufs cloud (web + app + scripts) to github.com/kuhyx/dufs-cloud 2026-07-12 18:38:37 +02:00
control_from_mobile.sh Split two more linux_configuration scripts; revert a third 2026-08-16 18:44:18 +02:00
install_unreal_mcp_kvick.sh refactor(linux_configuration/scripts): split all scripts into single_use/ and periodic_background/ 2026-05-15 00:32:35 +02:00
install_unreal_mcp.sh Split five more linux_configuration single_use scripts 2026-08-16 18:51:28 +02:00
keepass_consolidate.sh linux_configuration: unified multi-device KeePass sync over dufs 2026-07-12 05:00:27 +02:00
keepass_sync.sh Fix the 11 shellcheck findings that kept CI red since b83ce5d 2026-08-04 20:55:02 +02:00
keepass-open.sh linux_configuration: unified multi-device KeePass sync over dufs 2026-07-12 05:00:27 +02:00
migrate_github_to_gitea.sh Add self-hosted Gitea deployment, mirroring all GitHub repos publicly 2026-07-04 07:45:00 +02:00
raspberry_pi_flash_sd.sh Split the Pi flasher and the boot-repair test harness 2026-08-16 20:21:44 +02:00
raspberry_pi_nextcloud.sh Split three more linux_configuration giants 2026-08-16 19:43:55 +02:00
setup_activitywatch.sh Split three more scripts; make the verifier catch heredoc cuts 2026-08-16 20:16:08 +02:00
setup_dns_blocker.sh Split setup_dns_blocker.sh, a live systemd unit target 2026-08-16 21:31:03 +02:00
setup_dot_resolver.sh Split seven more linux_configuration scripts 2026-08-16 18:56:05 +02:00
setup_dwm.sh Split five more linux_configuration single_use scripts 2026-08-16 18:51:28 +02:00
setup_gitea.sh Split three near-miss linux_configuration scripts 2026-08-16 18:38:43 +02:00
setup_kcd2_dice_solver.sh Split three large linux_configuration scripts, defer a fourth 2026-08-16 19:06:16 +02:00
setup_keepass_sync.sh linux_configuration: unified multi-device KeePass sync over dufs 2026-07-12 05:00:27 +02:00
setup_local_llm.sh Split five more linux_configuration single_use scripts 2026-08-16 18:51:28 +02:00
setup_nextcloud_raspberry.sh Split setup_nextcloud_raspberry.sh 1383 -> 231 2026-08-16 19:37:07 +02:00
setup_personal_website.sh Split three more linux_configuration feature and fix scripts 2026-08-16 18:48:01 +02:00
setup_phone_wireguard.sh Park phone DNS filtering: Private DNS fails closed, so the PC cannot host it 2026-08-05 10:05:16 +02:00
setup_searxng.sh Split setup_searxng.sh 912 -> 184 2026-08-16 19:11:40 +02:00
setup_syncyomi_guard.sh syncyomi_guard: refuse a collapsed payload as the new good copy 2026-08-10 15:33:18 +02:00
setup_syncyomi.sh Split three more linux_configuration feature and fix scripts 2026-08-16 18:48:01 +02:00
setup_wireguard_ssh.sh Split three more scripts; make the verifier catch heredoc cuts 2026-08-16 20:16:08 +02:00