1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
11 type CgroupSuite struct{}
13 var _ = Suite(&CgroupSuite{})
15 func (s *CgroupSuite) TestFindCgroup(c *C) {
16 for _, s := range []string{"devices", "cpu", "cpuset"} {
17 g, err := findCgroup(s)
18 if c.Check(err, IsNil) {
19 c.Check(g, Not(Equals), "", Commentf("subsys %q", s))
21 c.Logf("cgroup(%q) == %q", s, g)