From d16da6da8c4880d90dc35fa9006806f7c0395d7f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 3 Oct 2025 02:26:14 +0900 Subject: system: enforce absolute paths This is less error-prone, and is quite easy to integrate considering internal/app has already migrated to container.Absolute. Closes #11. Signed-off-by: Ophestra --- system/tmpfiles_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/tmpfiles_test.go') diff --git a/system/tmpfiles_test.go b/system/tmpfiles_test.go index 5ee5e0d1..aa7a7e96 100644 --- a/system/tmpfiles_test.go +++ b/system/tmpfiles_test.go @@ -98,7 +98,7 @@ func TestTmpfileOp(t *testing.T) { checkOpsBuilder(t, "CopyFile", []opsBuilderTestCase{ {"pulse", 0xcafebabe, func(_ *testing.T, sys *I) { - sys.CopyFile(new([]byte), "/home/ophestra/xdg/config/pulse/cookie", 1<<8, 1<<8) + sys.CopyFile(new([]byte), m("/home/ophestra/xdg/config/pulse/cookie"), 1<<8, 1<<8) }, []Op{&tmpfileOp{ new([]byte), "/home/ophestra/xdg/config/pulse/cookie", 1 << 8, func() *bytes.Buffer { buf := new(bytes.Buffer); buf.Grow(1 << 8); return buf }(), -- cgit v1.3.1