Skip to content

test: csf.pl testability suite - #9

Closed
zeroth-blip wants to merge 1 commit into
Black-HOST:mainfrom
zeroth-blip:port/cpanel-1c80b71
Closed

test: csf.pl testability suite#9
zeroth-blip wants to merge 1 commit into
Black-HOST:mainfrom
zeroth-blip:port/cpanel-1c80b71

Conversation

@zeroth-blip

Copy link
Copy Markdown
Contributor

Summary

  • port cpanel/cpanel-csf commit 1c80b71 into the zeroth fork's current layout
  • make csf.pl loadable as a module for tests while keeping normal CLI execution via run() unless caller()
  • add csf.pl coverage under .github/tests/unit/ plus the uninitialized-warning regression test
  • add a dedicated MockConfig test helper and limit extra CI Perl deps to only the new csf-related tests

Notes

  • this is adapted to the current BlackHOST/zeroth test layout, not a literal path-for-path cherry-pick from cPanel
  • Claude review feedback was applied before commit, including the modulino guard, lighter open3 wrapper, repo test helper usage, and narrower CI dependency installation

@zeroth-blip

Copy link
Copy Markdown
Contributor Author

Closing this and reworking it from scratch to avoid licensing issues.

@zeroth-blip zeroth-blip closed this Apr 6, 2026
@zeroth-blip
zeroth-blip deleted the port/cpanel-1c80b71 branch April 6, 2026 09:28
@UptimeEnforcer UptimeEnforcer changed the title test: port csf.pl testability suite from cpanel test: csf.pl testability suite Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant