aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spcontainer_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-11 14:29:38 +0900
committerOphestra <cat@gensokyo.uk>2025-10-11 14:32:35 +0900
commitf5a597c4061b18b53e3124107c0e1434a98aedc9 (patch)
treed339acafed909f5ec30bc6344d7c76322a0b9bd1 /internal/app/spcontainer_test.go
parent8874aaf81b6d8028bd4dc3d4a1f09bf16b349085 (diff)
hst: rename /.hakurei constant
This provides disambiguation from fhs.AbsTmp. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spcontainer_test.go')
-rw-r--r--internal/app/spcontainer_test.go4
1 files changed, 2 insertions, 2 deletions
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) {