diff options
Diffstat (limited to 'internal/outcome/spruntime_test.go')
| -rw-r--r-- | internal/outcome/spruntime_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/outcome/spruntime_test.go b/internal/outcome/spruntime_test.go index e083f7c3..25f2684c 100644 --- a/internal/outcome/spruntime_test.go +++ b/internal/outcome/spruntime_test.go @@ -40,6 +40,7 @@ func TestSpRuntimeOp(t *testing.T) { // this op configures the container state and does not make calls during toContainer }, &container.Params{ Ops: new(container.Ops). + Tmpfs(fhs.AbsRun, xdgRuntimeDirSize, 0755). Tmpfs(fhs.AbsRunUser, xdgRuntimeDirSize, 0755). Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), std.BindWritable), }, paramsWantEnv(config, map[string]string{ @@ -67,6 +68,7 @@ func TestSpRuntimeOp(t *testing.T) { // this op configures the container state and does not make calls during toContainer }, &container.Params{ Ops: new(container.Ops). + Tmpfs(fhs.AbsRun, xdgRuntimeDirSize, 0755). Tmpfs(fhs.AbsRunUser, xdgRuntimeDirSize, 0755). Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), std.BindWritable), }, paramsWantEnv(config, map[string]string{ @@ -94,6 +96,7 @@ func TestSpRuntimeOp(t *testing.T) { // this op configures the container state and does not make calls during toContainer }, &container.Params{ Ops: new(container.Ops). + Tmpfs(fhs.AbsRun, xdgRuntimeDirSize, 0755). Tmpfs(fhs.AbsRunUser, xdgRuntimeDirSize, 0755). Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), std.BindWritable), }, paramsWantEnv(config, map[string]string{ @@ -117,6 +120,7 @@ func TestSpRuntimeOp(t *testing.T) { // this op configures the container state and does not make calls during toContainer }, &container.Params{ Ops: new(container.Ops). + Tmpfs(fhs.AbsRun, xdgRuntimeDirSize, 0755). Tmpfs(fhs.AbsRunUser, xdgRuntimeDirSize, 0755). Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), std.BindWritable), }, paramsWantEnv(config, map[string]string{ |
