Rlimits: rlimitsEncoder, ProcStarterPath: "/path/to/proc/starter", AlwaysDropCapabilities: true, } }) Describe("Process preparation", func() { var spec garden.ProcessSpec BeforeEach(func() { var ( nofile uint64 = 12 rss uint64 = 128 ) limits.Nofile = &nofile limits.Rss = &rss spec = garden.ProcessSpec{ User: "******", Path: "fishfinger", Args: []string{ "foo", "bar", }, Env: []string{ "foo=bar", "baz=barry", }, Limits: limits, } })