fix(agent): also wipe /etc/decnet during self-destruct

This commit is contained in:
2026-04-19 21:04:31 -04:00
parent 00d5799a79
commit f576564f02
2 changed files with 2 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ def test_self_destruct_spawns_reaper_and_returns_fast(monkeypatch, tmp_path) ->
assert "/etc/systemd/system/decnet-" in body
assert "/var/lib/decnet/*" in body
assert "/usr/local/bin/decnet*" in body
assert "/etc/decnet" in body
# Logs must be preserved — no `rm` line should touch /var/log.
for line in body.splitlines():
stripped = line.strip()