aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/spwayland_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-02 12:22:32 +0900
committerOphestra <cat@gensokyo.uk>2025-11-02 12:22:32 +0900
commitf33aea9ff9c5eb678c6f1de59132aab69a59757e (patch)
treec59e2a93a3f8829146f18ad3079bc182f30d44c6 /internal/outcome/spwayland_test.go
parente7fc311d0b880e7ae44b97d406a309604b01dbac (diff)
internal/env: cleaner runtime dir fallback
This now places rundir inside the fallback runtime dir, so special case in internal/outcome is avoided. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/spwayland_test.go')
-rw-r--r--internal/outcome/spwayland_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/outcome/spwayland_test.go b/internal/outcome/spwayland_test.go
index 5cee8de7..281cb29b 100644
--- a/internal/outcome/spwayland_test.go
+++ b/internal/outcome/spwayland_test.go
@@ -64,10 +64,10 @@ func TestSpWaylandOp(t *testing.T) {
call("verbose", stub.ExpectArgs{[]any{"direct wayland access, PROCEED WITH CAUTION"}}, nil, nil),
}, newI().
// state.ensureRuntimeDir
- Ensure(m(wantRunDirPath), 0700).
- UpdatePermType(system.User, m(wantRunDirPath), acl.Execute).
Ensure(m(wantRuntimePath), 0700).
UpdatePermType(system.User, m(wantRuntimePath), acl.Execute).
+ Ensure(m(wantRunDirPath), 0700).
+ UpdatePermType(system.User, m(wantRunDirPath), acl.Execute).
// toSystem
UpdatePermType(hst.EWayland, m("/proc/nonexistent/wayland"), acl.Read, acl.Write, acl.Execute), nil, nil, insertsOps(afterSpRuntimeOp(nil)), []stub.Call{
// this op configures the container state and does not make calls during toContainer