mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 12:50:58 +01:00
nc_php.sh was the next-hardest library on the allowlist. It targets a Debian Raspberry Pi -- it edits /etc/php/<ver>/apache2/php.ini, drives occ as www-data and installs a crontab -- so none of its write targets exist on this Arch host and the jail had nothing to mirror. - --seed-dir / --seed-file create the paths a foreign-platform subject expects. Verified with a probe: /etc/php/8.2/apache2 exists inside the jail while /etc/php does not exist outside it. - A failed bind is now FATAL, and missing mountpoints are created first. A bind that fails silently is indistinguishable from unreachable code in the report, which is the misdiagnosis this runner exists to prevent. - Mirroring skips unreadable targets (/root as a normal user) rather than aborting under set -e. nc_php.sh: 84/85 = 98.82%, 24 assertions. It STAYS on the allowlist, because 98.82% is below the bar. Line 111 -- the crontab first-run fallback -- hung the suite on both attempts to cover it, so it is left uncovered and documented rather than tried a third time. Two harness hazards found the hard way and written down: a top-level stub function shadows the subject's own function for every later assertion (this silently dropped coverage 83.53% -> 57.65% while the tests still passed), and a stub for a piped-into command must drain stdin or the writer takes SIGPIPE. dot_resolver_install.sh still measures 39/39 = 100.00%. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DbD4nco3EgL1UFoZKmKsLE |
||
|---|---|---|
| .. | ||
| tests | ||
| aw_autostart.sh | ||
| aw_install.sh | ||
| aw_service.sh | ||
| dns_dhcp.sh | ||
| dns_firewall.sh | ||
| dns_units.sh | ||
| dot_resolver_install.sh | ||
| dwm_config.sh | ||
| gitea_network.sh | ||
| kcd2_autorebuild.sh | ||
| kcd2_expose.sh | ||
| kcd2_serve.sh | ||
| local_llm_model.sh | ||
| mobile_service.sh | ||
| nc_discover.sh | ||
| nc_flash.sh | ||
| nc_image.sh | ||
| nc_packages.sh | ||
| nc_php.sh | ||
| nc_remote_flash.sh | ||
| nc_remote.sh | ||
| nc_services.sh | ||
| pi_flash_exec.sh | ||
| pi_flash_image.sh | ||
| pi_flash_remote.sh | ||
| rpi_nc_ca.sh | ||
| rpi_nc_deps.sh | ||
| rpi_nc_fixes.sh | ||
| rpi_nc_install.sh | ||
| rpi_nc_ssl_remote.sh | ||
| rpi_nc_ssl.sh | ||
| rpi_nc_system.sh | ||
| searxng_expose.sh | ||
| searxng_limiter.sh | ||
| searxng_settings.sh | ||
| searxng_stack.sh | ||
| searxng_start.sh | ||
| searxng_status.sh | ||
| syncyomi_expose.sh | ||
| syncyomi_stack.sh | ||
| unreal_mcp_repo.sh | ||
| website_build.sh | ||
| wg_firewall.sh | ||
| wg_keys.sh | ||
| wg_sshd.sh | ||