2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-22 02:12:16 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Vinícius Ferrão 8866046a4b test(netboot): preserve profile asset lookup contracts
Compare Debian and shared lookup priorities through their production
entry points and real files. Exercise Debian genimage consumers in
isolated filesystems, including custom-directory precedence and
unchanged postinstall paths.
2026-10-23 01:39:54 -03:00
Vinícius Ferrão 9653713bdd test(ci): cover Perl and Bats failure combinations
Exercise the full driver with either or both unit suites failing. Check
execution order, both result messages, and the final exit status.

Allow multiple command failures in the fixture. Encode logged commands as
JSON arrays for compatibility with older JSON::PP versions.
2026-10-20 16:20:29 -03:00
Vinícius Ferrão dc071ba50b test(xcatd): verify dispatch redaction in syslog
Replace the dispatch trace fixture with an installed-node xcattest case.
Check the stored password, masked dispatch output, and absence of the
unmasked password in syslog. Restore the debug setting and remove the
temporary node on exit. Keep the redactor unit checks unchanged.
2026-10-02 22:11:59 -03:00
Vinícius Ferrão 490d40ca01 test(xcatd): exercise loaded password redaction
Load the production redactor and schema instead of extracting source.
Check audit, syslog, and dispatch trace output through their real owners.
Keep production code unchanged.
2026-10-02 22:11:59 -03:00
Vinícius Ferrão c97b8d412b test(ci): exercise the GitHub action driver
Run the unchanged driver with command and filesystem fixtures instead of
matching its source. Check apt arguments, syntax exclusions, and failure
propagation. Parse the workflow with YAML::PP and install it in CI.
2026-10-02 19:24:04 -03:00
Vinícius Ferrão 0a39f93270 test(dhcp): verify service-node dispatch requests
The dispatch test matched source patterns without checking returned
requests. Load the complete plugin and exercise its request preprocessing
with fixture database rows and the real service-node mapping code.

Check destination filtering, network regeneration, self-dispatch guards,
request contents and hierarchical network errors. Run each case in a fresh
process so lexical option state cannot leak between fixtures.
2026-09-17 16:41:26 -03:00