@@ -32,7 +32,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
3232 })
3333
3434 It ("limits test" , func () {
35- SkipIfRootlessCgroupsV1 ("Setting limits not supported on cgroupv1 for rootless users" )
3635 // containers.conf is set to "nofile=500:500"
3736 session := podmanTest .Podman ([]string {"run" , "--rm" , fedoraMinimal , "ulimit" , "-n" })
3837 session .WaitWithDefaultTimeout ()
@@ -59,7 +58,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
5958 })
6059
6160 It ("oom-score-adj" , func () {
62- SkipIfRootlessCgroupsV1 ("Setting limits not supported on cgroupv1 for rootless users" )
6361 // containers.conf is set to "oom_score_adj=999"
6462 session := podmanTest .Podman ([]string {"run" , "--rm" , ALPINE , "cat" , "/proc/self/oom_score_adj" })
6563 session .WaitWithDefaultTimeout ()
@@ -91,9 +89,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
9189 })
9290
9391 It ("cgroup_conf in containers.conf" , func () {
94- if isCgroupsV1 () {
95- Skip ("Setting cgroup_confs not supported on cgroupv1" )
96- }
9792 // FIXME: Needs crun-1.8.2-2 to allow this with --cgroup-manager=cgroupfs, once this is available remove the skip below.
9893 SkipIfRootless ("--cgroup-manager=cgoupfs and --cgroup-conf not supported in rootless mode with crun" )
9994 conffile := filepath .Join (podmanTest .TempDir , "container.conf" )
@@ -152,7 +147,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
152147 })
153148
154149 It ("add capabilities" , func () {
155- SkipIfRootlessCgroupsV1 ("Not supported for rootless + CGroupsV1" )
156150 cap := podmanTest .Podman ([]string {"run" , ALPINE , "grep" , "CapEff" , "/proc/self/status" })
157151 cap .WaitWithDefaultTimeout ()
158152 Expect (cap ).Should (ExitCleanly ())
@@ -198,7 +192,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
198192 })
199193
200194 verifyNSHandling := func (nspath , option string ) {
201- SkipIfRootlessCgroupsV1 ("Not supported for rootless + CgroupsV1" )
202195 os .Setenv ("CONTAINERS_CONF" , "config/containers-ns.conf" )
203196 if IsRemote () {
204197 podmanTest .RestartRemoteService ()
0 commit comments