@@ -30,7 +30,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
3030 })
3131
3232 It ("limits test" , func () {
33- SkipIfRootlessCgroupsV1 ("Setting limits not supported on cgroupv1 for rootless users" )
3433 // containers.conf is set to "nofile=500:500"
3534 session := podmanTest .Podman ([]string {"run" , "--rm" , fedoraMinimal , "ulimit" , "-n" })
3635 session .WaitWithDefaultTimeout ()
@@ -56,7 +55,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
5655 })
5756
5857 It ("oom-score-adj" , func () {
59- SkipIfRootlessCgroupsV1 ("Setting limits not supported on cgroupv1 for rootless users" )
6058 // containers.conf is set to "oom_score_adj=999"
6159 session := podmanTest .Podman ([]string {"run" , "--rm" , ALPINE , "cat" , "/proc/self/oom_score_adj" })
6260 session .WaitWithDefaultTimeout ()
@@ -86,9 +84,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
8684 })
8785
8886 It ("cgroup_conf in containers.conf" , func () {
89- if isCgroupsV1 () {
90- Skip ("Setting cgroup_confs not supported on cgroupv1" )
91- }
9287 // FIXME: Needs crun-1.8.2-2 to allow this with --cgroup-manager=cgroupfs, once this is available remove the skip below.
9388 SkipIfRootless ("--cgroup-manager=cgoupfs and --cgroup-conf not supported in rootless mode with crun" )
9489 conffile := filepath .Join (podmanTest .TempDir , "container.conf" )
@@ -147,7 +142,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
147142 })
148143
149144 It ("add capabilities" , func () {
150- SkipIfRootlessCgroupsV1 ("Not supported for rootless + CGroupsV1" )
151145 cap := podmanTest .Podman ([]string {"run" , ALPINE , "grep" , "CapEff" , "/proc/self/status" })
152146 cap .WaitWithDefaultTimeout ()
153147 Expect (cap ).Should (ExitCleanly ())
@@ -193,7 +187,6 @@ var _ = Describe("Verify podman containers.conf usage", func() {
193187 })
194188
195189 verifyNSHandling := func (nspath , option string ) {
196- SkipIfRootlessCgroupsV1 ("Not supported for rootless + CgroupsV1" )
197190 os .Setenv ("CONTAINERS_CONF" , "config/containers-ns.conf" )
198191 if IsRemote () {
199192 podmanTest .RestartRemoteService ()
0 commit comments