Skip to content

Pin Linux boundary / operator-misuse tests (H1-H3 mirror Windows boundary coverage)

Placeholder ppxd requested to merge phase12.M.L.H-boundary-tests into main

Summary

  • Closes the P2 5.6 gap: aligns Linux boundary coverage with Windows. Windows already has ServerUnreachable (C1.u2) + MissingServerArg (C3.u1); Linux now has equivalents + a new ServiceInstall_WithoutSudo pin.
  • 3 new tests covering the most common operator-misuse paths: bad URL (network), missing flag (CLI), missing privilege (sudo).

What this catches

Test Catches
H1.u1 Register's HTTP client silently treating connection-refused as success → fleet automation $? branches see false-success
H2.u1 Required-flag validation regression — RegisterCommand crashing deep with stack trace instead of refusing at CLI layer
H3.u1 Partial systemd unit file written on sudo-permission failure → operator's later sudo service start uses stale config

Test plan

  • dotnet build green
  • Linux CI passes 3 new tests
  • Existing 52 Linux E2E tests still pass

🤖 Generated with Claude Code

Merge request reports

Loading