From f5a597c4061b18b53e3124107c0e1434a98aedc9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 11 Oct 2025 14:29:38 +0900 Subject: hst: rename /.hakurei constant This provides disambiguation from fhs.AbsTmp. Signed-off-by: Ophestra --- internal/app/spcontainer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/spcontainer_test.go') diff --git a/internal/app/spcontainer_test.go b/internal/app/spcontainer_test.go index 653fba13..bcb1792f 100644 --- a/internal/app/spcontainer_test.go +++ b/internal/app/spcontainer_test.go @@ -69,7 +69,7 @@ func TestSpParamsOp(t *testing.T) { Gid: 100, Ops: new(container.Ops). Root(m("/var/lib/hakurei/base/org.debian"), bits.BindWritable). - Proc(fhs.AbsProc).Tmpfs(hst.AbsTmp, 1<<12, 0755). + Proc(fhs.AbsProc).Tmpfs(hst.AbsPrivateTmp, 1<<12, 0755). DevWritable(fhs.AbsDev, true). Tmpfs(fhs.AbsDev.Append("shm"), 0, 01777), }, func(t *testing.T, state *outcomeStateParams) { @@ -114,7 +114,7 @@ func TestSpParamsOp(t *testing.T) { Gid: 100, Ops: new(container.Ops). Root(m("/var/lib/hakurei/base/org.debian"), bits.BindWritable). - Proc(fhs.AbsProc).Tmpfs(hst.AbsTmp, 1<<12, 0755). + Proc(fhs.AbsProc).Tmpfs(hst.AbsPrivateTmp, 1<<12, 0755). Bind(fhs.AbsDev, fhs.AbsDev, bits.BindWritable|bits.BindDevice). Tmpfs(fhs.AbsDev.Append("shm"), 0, 01777), }, func(t *testing.T, state *outcomeStateParams) { -- cgit v1.3.1