From e99d7affb0c128fa82722f9b3d79c99b5e5918cd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 11 Aug 2025 02:52:32 +0900 Subject: container: use absolute for pathname This is simultaneously more efficient and less error-prone. This change caused minor API changes in multiple other packages. Signed-off-by: Ophestra --- internal/app/app_stub_linux_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/app/app_stub_linux_test.go') diff --git a/internal/app/app_stub_linux_test.go b/internal/app/app_stub_linux_test.go index 0efc585d..f386eb01 100644 --- a/internal/app/app_stub_linux_test.go +++ b/internal/app/app_stub_linux_test.go @@ -127,8 +127,8 @@ func (s *stubNixOS) Open(name string) (fs.File, error) { func (s *stubNixOS) Paths() hst.Paths { return hst.Paths{ - SharePath: "/tmp/hakurei.1971", - RuntimePath: "/run/user/1971", - RunDirPath: "/run/user/1971/hakurei", + SharePath: m("/tmp/hakurei.1971"), + RuntimePath: m("/run/user/1971"), + RunDirPath: m("/run/user/1971/hakurei"), } } -- cgit v1.3.1