From 4041e701f0a1780daa9dba08e672b21bacd5b0c2 Mon Sep 17 00:00:00 2001 From: Caleb Ellis Date: Sun, 6 Dec 2026 00:13:42 +0800 Subject: [PATCH] Replace personal-looking emails in tests with fake ones A systemd template-unit fixture in update/selfheal_linux_test.go used a personal given name as the instance. It is now foxtrack-bridge@test.service. The assertion is unchanged: unitFromCgroup must still return that last .service component. --- update/selfheal_linux_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update/selfheal_linux_test.go b/update/selfheal_linux_test.go index 012e9da..d251025 100644 --- a/update/selfheal_linux_test.go +++ b/update/selfheal_linux_test.go @@ -22,8 +22,8 @@ func TestUnitFromCgroup(t *testing.T) { }, { name: "system template unit", - cgroup: "0::/system.slice/system-foxtrack\\x2dbridge.slice/foxtrack-bridge@caleb.service\n", - want: "foxtrack-bridge@caleb.service", + cgroup: "0::/system.slice/system-foxtrack\\x2dbridge.slice/foxtrack-bridge@test.service\n", + want: "foxtrack-bridge@test.service", }, { name: "trailing slash",