testsAndMisc/linux_configuration/tests/lib
Krzysztof kuhy Rudnicki c266b3cd42 test_security_hardening: look for the blocker's code where it now lives
The block_compulsive_opening split moved launch_with_timer into
lib/cco_wrapper.sh, and tests 17 and 18 grep the entry script alone. CI went
red on "launch_with_timer function exists — Not found at expected location":
a false failure about code that is present and working, one file over.

Both assertions are about a feature existing, so they now search the entry
script together with lib/cco_*.sh. That restores what they were always
checking and does not go stale on the next split.

The lib list is built with a loop and an -f test rather than a bare glob, so
an unmatched pattern cannot land in the array as a literal and no shellcheck
suppression is needed.

Verified by running the suite: both checks PASS, 18 passed. The one remaining
local failure is test 19, which inspects /usr/bin on this machine — signal
and discord are not currently wrapped here and beeper is not installed. That
is machine state, predates this change, and is not what CI reported.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3PzGc75gBcdxP3PkHXGcV
2026-08-21 16:06:08 +02:00
..
i3blocks_claude_usage.sh Split the last two over-cap shell test suites 2026-08-16 22:27:44 +02:00
i3blocks_config_checks.sh Split the last two over-cap shell test suites 2026-08-16 22:27:44 +02:00
pacman_wrapper_makepkg.sh Split install_pacman_wrapper.sh into an entry plus four libs 2026-08-17 07:42:31 +02:00
pacman_wrapper_syntax.sh Split install_pacman_wrapper.sh into an entry plus four libs 2026-08-17 07:42:31 +02:00
security_apps.sh test_security_hardening: look for the blocker's code where it now lives 2026-08-21 16:06:08 +02:00
security_hosts_shutdown.sh Split test_security_hardening.sh; finish the mutation-driver split 2026-08-16 22:24:02 +02:00
security_pacman.sh Split test_security_hardening.sh; finish the mutation-driver split 2026-08-16 22:24:02 +02:00