Files
hermes-agent/tests
Shedrack Eze 8c0164cef9 test: add regression tests for launchd PID exclusion on macOS
Two tests in TestReapUnsupervisedGatewayOrphansMacOS:
- test_macos_excludes_launchd_pid_from_kill: verifies a launchd-managed
  PID is not SIGTERM'd while a real orphan is
- test_macos_no_orphans_when_only_launchd_gateway_running: verifies the
  reaper returns False when the only gateway PID is launchd-managed

Both tests patch is_macos() to True and supports_systemd_services() to
False to simulate the macOS code path where the short-circuit does not
fire.
2026-08-14 13:15:56 +05:30
..
…