MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / systemd.test.ts

File systemd.test.ts

packages/server/test/svc/systemd.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Pure-function tests for the systemd backend. No real `systemctl` shell-out —
3 * `execSystemctl` is stubbed so we can assert the exact argv.
4 *

Callers

nothing calls this directly

Calls 13

buildSystemdUnitFunction · 0.90
parseSystemctlShowFunction · 0.90
createSystemdManagerFunction · 0.90
readInstallPlanFunction · 0.90
writeInstallPlanFunction · 0.90
keysMethod · 0.80
uninstallMethod · 0.80
makeDepsFunction · 0.70
installMethod · 0.65
startMethod · 0.65
stopMethod · 0.65
restartMethod · 0.65

Tested by

no test coverage detected